United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6710199 SJIS_0213 does not handle "unmappable" encoding operation correctly
JDK-6710199 : SJIS_0213 does not handle "unmappable" encoding operation correctly

Details
Type:
Bug
Submit Date:
2008-06-03
Status:
Closed
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2008-06-10
Component:
core-libs
OS:
generic
Sub-Component:
java.nio.charsets
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b26)

Related Reports
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
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
>>>  
>>>   
>>
>

                                    

Comments
EVALUATION

The sjis_0213 support in JISAutoDetect will be handled separately in different RFE.
                                     
2008-06-03



Hardware and Software, Engineered to Work Together