Re: Wrong value in the cp936 (gb2312) codepage.

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Fri Jan 07 2005 - 22:31:38 EST


In article <1105150357.1833.4.camel@mattwu> (at 08 Jan 2005 10:14:30 +0800), matt <coody@xxxxxxxxxxx> says:

> in /linux/fs/nls/nls_cp936.c:
>
> static wchar_t c2u_B1[256] = {
> ...
> 0x5351,0xF963,0x8F88,0x80CC,0x8D1D,0x94A1,0x500D,0x72C8,/* 0xB0-0xB7 */
> ...
> };
>
> For 0xb1, 0xb1, the correct value should be 0x5317. You can get it at
> www.microsoft.com/globaldev/reference/dbcs/936/936_B1.htm.
>
> I didn't check all of them. But it should have possibility of containing
> more wrong values. Maybe these tables need to be re-generated.

It seems there're over 100 differences.

--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/