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

native2ascii - Incorrect conversion of Unicode characters with #D or #A

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0, 1.4.1
    • core-libs
    • beta2
    • x86, sparc
    • solaris_8, windows_2000



      Name: boT120536 Date: 04/09/2001


      D:\niagara\r3dev\tools\jdk13\bin>java -version
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


      If you create a file containing Unicode characters with hex A or D,
      they are interpreted as line feed or carriage return and byte alignment is
      incorrect for the rest of the file. Many Japanese, Thai and Eastern European
      characters have a Unicode value with one of these included.
      Polish 01 0D c with carat
      Japanese 54 0D, 4E 0A
      Thai 0E 0A

      native2ascii -encoding Unicode input output

      This and bug 4191313 make localization very difficult.
      (Review ID: 120237)
      ======================================================================

            ilittlesunw Ian Little (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: