Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4137855

Command line args unreadable for Chinese and Japanese environments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1.6
    • hotspot
    • x86
    • windows_nt



      Name: mf23781 Date: 05/13/98


      Calling a simple java program which reads the command line args
      and writes it out with System.out.println(argv[0]). results in
      unreadable characters for Chinese and Japanese language environment.

      The same results are obtained using the JDK and JRE:
       
      JRE -cp . TestArguments anyNLSString

      System.out.println(argv[0]);
       
      shows ===> ?????????? instead of the NLSString
       The locales used are ja_JP and zh_TW

      This works fine with OS2 and AIX JDK1.1.4
      ======================================================================

            apalanissunw Anand Palaniswamy (Inactive)
            miflemi Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: