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

SJIS_0213 does not handle "unmappable" encoding operation correctly

XMLWordPrintable

    • b26
    • generic
    • generic
    • Verified

        This is the feedback from licensee that escalated the rfe of adding SJIS_0213 support.

        Hi Sherman,

        Fujitsu tried 6u10-b22 and found some problems.

        (1) When unicode->SJIS, inconvertible characters are mapped to
           0xffff. We think it should be 0x3f. The current S-JIS does
           to 0x3f.

        ==================
        >java nn
        SJIS
        3f3f3f

        SJIS_0213
        ffffffffffff
        ==================

        (2) JISAutoDetect can not recognize the codes of SJIS_0213

        ============================
        >java ad
        SJIS_0213
         d845 ddd7 3691 304b 309a

        JISAutoDetect
         e195 e196 fffd
        ============================

        I am asking whether they can provide the test program
        when they use on verification.

        Thank you
        -tadayuyki
        ======================================================-
        On 2008/04/18 15:16, Xueming Shen wrote:
        > Baba-san,
        >
        > As I said in my previous email, the fix has been in 6u10b22, is it possible for you
        > to ask fujitsu to try it out? we might be able to improve the implementation based
        > on their feedback...
        >
        > sherman
        >
        > Tadayuki Baba wrote:
        >> Hi Vaibhav,
        >>
        >> As to jdk7, the fix will be integrated to build27( around 5/22 ?).
        >> - Could you please estimate when the fix will be integrated to jdk5/jdk6 ?
        >> (rough schedule is enough at this point. )
        >>
        >> Thank you
        >> -tadayuki
        >> ==================================================================
        >> On 2008/04/10 18:19, ###@###.### wrote:
        >>> Esc# 1-23148921 http://webescprod.singapore.sun.com:8080/servlet/com.sun.webesc.control.CPREDisplay?CpreEscID=1-23148921
        >>> BugID: 6529796 http://bt2ws.central.sun.com/CrPrint?id=6529796
        >>> Synopsis: Support JIS X 0213:2004 in existing JDK versions, especially for Windows Vista
        >>> Customer: Fujitsu
        >>> Prod. Owner: JWSSE-SunONE-Java Platform
        >>> Task Group: Workgroup: JPSE-Java
        >>> Eng name: VAIBHAV CHOUDHARY
        >>> Status: In Progress
        >>> SubStatus: Awaiting Engineering
        >>> Updated By: VAIBHAV CHOUDHARY
        >>> Severity: 2- High
        >>>
        >>> Sun Confidential: Internal Only Information
        >>>
        >>>
        >>
        >

              sherman Xueming Shen
              sherman Xueming Shen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: