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

native2ascii has problem converting GB18030 file

XMLWordPrintable

    • hopper
    • x86, sparc
    • solaris_9, windows_2000
    • Verified

      merlin b89
      solaris9 b51/sun4u
      locale gb18030

      reproduce as fellow:
      #native2ascii GB18030_4.txt 1.txt.utf8
      #native2ascii -reverse 1.txt.utf8 2.txt

      Then there will get fellow error:
      java.lang.ArrayIndexOutOfBoundsException

      Attachment is text which include some 4-byte char for chinese gb18030 locale.

            ilittlesunw Ian Little (Inactive)
            lefan Leon Fan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: