CharToByteSJIS converter returns invalid shift-jis characters

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.1.6
    • Affects Version/s: 1.1
    • Component/s: core-libs
    • None
    • 1.1.6
    • generic
    • solaris_2.5
    • Not verified

         The getNative method of CharToByteSJIS returns 0x707e for Unicode characters that can't be mapped to Shift-JIS, such as \u0080. This foils the substitution mode processing of the super class CharToByteDoubleByte which only understands 0x0000 as an unmapped character.

        This bug applies to the Shift Jis converter produced by the ConverterGenerator tool. Since many of our converters follow similar patterns, this bug may also exist in other subclasses of CharToByteDoubleByte

              Assignee:
              Brian Beck (Inactive)
              Reporter:
              Brian Beck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: