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

CharToByteSJIS converter maps \uff06 to '\'(0x5c), not to multibyte (0x81,0x95)

    XMLWordPrintable

Details

    • 1.1.6
    • generic, x86
    • solaris_9, windows_nt
    • Verified

    Backports

      Description


        takeshi.asano@Japan 1997-05-07

        Codeset converter CharToByteSJIS converts Unicode 0xff06 (Fullwidth
        ampersand mark) to '\' (0x5c).
        It should be converted to multibyte character <0x81><0x95>.
        This bug has been recently introduced.


        takeshi.asano@Japan 1997-05-08

        Sorry to forgot to attach files for reproduction.
        I attached:
        InOut.java test program
        amp.sjis input file
        out.18n output on jvm111_18n
        out.BR output on s297 Beta Refresh

        Please use them as:
        % javac InOut.java
        % java InOut SJIS SJIS < amp.sjis > out
        % cmp out out.18n
        % cmp out out.BR

        Attachments

          Issue Links

            Activity

              People

                lshisunw Limin Shi (Inactive)
                taasano Takeshi Asano (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: