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

SJIS converter converts tilde(0x7e) and DEL (0x7f) to '?'

    XMLWordPrintable

Details

    • 1.1fcs
    • generic, x86
    • solaris_9, windows_95
    • Not verified

    Description


      takeshi.asano@Japan 1997-01-27

      Character->Byte converter converts tilde (0x7e) and DEL (0x7f)
      to '?'. With attached program InOut.java:

      asano@furikake[1943]$ echo '~' | java InOut EUCJIS SJIS | od -xc
      0000000 3f0a
                 ? \n
      0000002
      asano@furikake[1944]$ echo '^?' | java InOut EUCJIS SJIS | od -xc
      0000000 3f0a
                 ? \n
      0000002
      asano@furikake[1945]$ echo '^?' | java InOut SJIS EUCJIS | od -xc
      0000000 7f0a
               177 \n
      0000002
      asano@furikake[1946]$ echo '~' | java InOut SJIS EUCJIS | od -xc
      0000000 7e0a
                 ~ \n

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: