Bruno Haible wrote:

>Yu Shao writes:
>
>>But the new Chinese standard GB18030 uses 18 code points begin from 0xa8.
>>So, my question is can we change 0x0100 to 0x00a0?
>>
>
>GB18030 has absolutely nothing to do with ISO-8859-1. Leave that
>converter alone.
>
>If you want to add GB18030 to the lcUTF8.c converter, the right way to
>do it, IMO, - because the GB18030 converter is quite big and libX11
>is already quite large - is to rely on iconv() and extend lcUTF8.c to
>use iconv() for encodings that are not in the builtin encoding table.
>IIRC, James Su or ha shao already posted patches to this effect.
>
Thank you for your advice, Bruno. Actually, I am playing around with 
James Su's
lcUTF8.c patch. But when lcUTF8 is doing the conversion for gb18030 code 
0xa1a4(Ux00b7), because iso8859_1 claims it is in its code range, the 
system just don't work, this is why I want to modify iso8859_1.h, 
although I know it is bad. Any other advice?

Yu Shao

>
>Bruno
>_______________________________________________
>I18n mailing list
>[EMAIL PROTECTED]
>http://XFree86.Org/mailman/listinfo/i18n
>



_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to