lkml.org 
[lkml]   [2005]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectWrong value in the cp936 (gb2312) codepage.
    From
    Date
    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



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

    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.022 / U:29.700 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site