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

EUCJIS/SJIS/JIS converters convert \uff3c to '?'

XMLWordPrintable

    • b01
    • x86
    • solaris_9
    • Not verified


      takeshi.asano@Japan 1997-03-14

      sun.io converters
      CharToByteEUCJIS
      CharToByteSJIS
      CharToByteJIS
      convert \uff3c("Fullwidth reverse solidus") to '?'.
      They should convert \uff3c to JIS X 0208 fullwidth reverse solidus
      (row #1 cell #32).

      Recently, byte to character converters (ByteToChar*JIS) were
      changed to convert JIS X 0208 fullwidth reverse solidus to \uff3c.
      However, character to byte conveters are not consistent with them.

      For reproduction, "InOut.java" and "ff3c.euc" are attached.

      asano@soda[891]$ java InOut EUCJIS EUCJIS < ff3c.euc
      ?
      asano@soda[892]$ java InOut EUCJIS SJIS < ff3c.euc
      ?
      asano@soda[893]$ java InOut EUCJIS JIS < ff3c.euc
      ?

            nishimur Naoyuki Ishimura (Inactive)
            taasano Takeshi Asano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: