linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wrong value in the cp936 (gb2312) codepage.
@ 2005-01-08  2:14 matt
  2005-01-08  2:59 ` YOSHIFUJI Hideaki / 吉藤英明
  2005-01-11  2:00 ` JustFillBug
  0 siblings, 2 replies; 3+ messages in thread
From: matt @ 2005-01-08  2:14 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I accidentally got a wrong value in the cp936 (gb2312) codepage.

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.


Best wishes,

Matt




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong value in the cp936 (gb2312) codepage.
  2005-01-08  2:14 Wrong value in the cp936 (gb2312) codepage matt
@ 2005-01-08  2:59 ` YOSHIFUJI Hideaki / 吉藤英明
  2005-01-11  2:00 ` JustFillBug
  1 sibling, 0 replies; 3+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2005-01-08  2:59 UTC (permalink / raw)
  To: coody; +Cc: linux-kernel, yoshfuji

In article <1105150357.1833.4.camel@mattwu> (at 08 Jan 2005 10:14:30 +0800), matt <coody@netease.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong value in the cp936 (gb2312) codepage.
  2005-01-08  2:14 Wrong value in the cp936 (gb2312) codepage matt
  2005-01-08  2:59 ` YOSHIFUJI Hideaki / 吉藤英明
@ 2005-01-11  2:00 ` JustFillBug
  1 sibling, 0 replies; 3+ messages in thread
From: JustFillBug @ 2005-01-11  2:00 UTC (permalink / raw)
  To: linux-kernel

On 2005-01-08, matt <coody@netease.com> wrote:
> Hi all,
>
> I accidentally got a wrong value in the cp936 (gb2312) codepage.
>
> 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.
>

Please see:
    http://bugzilla.kernel.org/show_bug.cgi?id=3452


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-11  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-08  2:14 Wrong value in the cp936 (gb2312) codepage matt
2005-01-08  2:59 ` YOSHIFUJI Hideaki / 吉藤英明
2005-01-11  2:00 ` JustFillBug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).