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

From function main's args could get locale char

XMLWordPrintable

    • x86
    • windows_nt

      jdk1.3.1_01 or merlin b72
      winnt s.chinese, winme t.chinese

      tar -xvf swing_awt_test.tar
      cd /awt/classes
      java awttest -command <localchar>

      then the windows popup with garble.

      It's seemed that it's deal with the main function's args as en locale, but using Locale.getDefaultlocale() we can get the defaultlocale is zh.

            ehawkessunw Eric Hawkes (Inactive)
            lefan Leon Fan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: