How to view output of unicode of other languages?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalinianthony
    New Member
    • Mar 2008
    • 4

    #1

    How to view output of unicode of other languages?

    Code:
    System.out.println("Chinese");
    
    System.out.println("\u6B22");
    The above code written in java doesnt display in chinese as per expected. Should i make some changes to my system or any other settings in order that i can view the expected output.

    The same question is for the other languages(frenc h/german/japanese) too.
  • Laharl
    Recognized Expert Contributor
    • Sep 2007
    • 849

    #2
    You probably need to install the appropriate language packs for your OS to see them correctly.

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by shalinianthony
      Code:
      System.out.println("Chinese");
      
      System.out.println("\u6B22");
      The above code written in java doesnt display in chinese as per expected. Should i make some changes to my system or any other settings in order that i can view the expected output.

      The same question is for the other languages(frenc h/german/japanese) too.
      So if I give you the characters A to Z can I expect you to write Chinese characters?
      I should supply you with the appropriate font first otherwise I can't expect anything.

      kind regards,

      Jos

      Comment

      Working...