<i18n dev> RFR: 8290488: IBM864 character encoding implementation bug

Naoto Sato naoto at openjdk.org
Tue Aug 2 16:31:40 UTC 2022


On Tue, 2 Aug 2022 08:35:51 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Adding an extra c2b mapping for the `%` in `IBM864` charset. The discrepancy came from the mapping difference between MS and IBM.
>
> test/jdk/java/beans/XMLEncoder/Test4625418.java line 26:
> 
>> 24: /*
>> 25:  * @test
>> 26:  * @bug 4625418 8239965 8290488
> 
> I'm curious why this XMLEncoder test is updated, is this related to round trip?

Yes. The test assumes all code points below U+10000 have 1-1 roundtrip (c2b2c). Since the assumption is now not met with this change, I commented out the 864 entries.

-------------

PR: https://git.openjdk.org/jdk/pull/9661


More information about the i18n-dev mailing list