On 04/06/2012 07:52, Xueming Shen wrote:
Hi
It has been confirmed (thanks Jacky) that Solaris' iconv GBK actually
uses (shares) the GB18030
mappings as showed at
http://src.opensolaris.org/source/xref/nv-g11n/g11n/src/lib/iconv/inc/unicode_gb18030.h
which is same as the MS936 for that particular region, with one
exception, the euro sign.
GB18030 maps U+20AC to 0xA2E3.
As the result the GBK also follows the GB18030's euro mapping as A2E3
<-> 20AC.
I think Java GBK should follow this as well. Here is the "final" webrev
http://cr.openjdk.java.net/~sherman/6183404/webrev
which includes the update for both MS936 and GBK.
-Sherman
This looks fine to me.
-Alan