harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6294) [classlib][nio_char] Character mapping difference to RI for IBM-1047 charset
Date Wed, 05 Aug 2009 16:22:14 GMT
[classlib][nio_char] Character mapping difference to RI for IBM-1047 charset
----------------------------------------------------------------------------

                 Key: HARMONY-6294
                 URL: https://issues.apache.org/jira/browse/HARMONY-6294
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Oliver Deakin
            Assignee: Oliver Deakin
         Attachments: ebcdic-charset.diff

I have been looking at the charset encoder/decoders for ebcdic (IBM1047) as a result of HARMONY-6290
and I noticed that the character mappings appear to be slightly different to those originally
generated by the TableGenerator tool contributed as part of HARMONY-3593.

When I run the tool on my local machine using the RI, I get byte 0x15 (NEL) mapped to 0x0A
(unicode LF) and 0x25 (LF) mapped to 0x85 (unicode NEL). However the Harmony tables have these
values the other way around - i.e. byte 0x15 mapped to 0x85 and 0x25 mapped to 0x0A. So it
appears we currently have a character mapping difference to the RI.

I am attaching a suggested patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message