JDK-6710199 : SJIS_0213 does not handle "unmappable" encoding operation correctly
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-06-03
  • Updated: 2015-03-15
  • Resolved: 2008-06-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other JDK 6 JDK 7
5.0u18-revFixed 5.0u19Fixed 6u10 b26Fixed 7Fixed
Related Reports
Relates :  
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.
03-06-2008