diff options
author | Jun Chen <jimcgnu@yahoo.com> | 2006-12-07 05:40:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 17:39:46 +0100 |
commit | f46ba2235feab5e686b1234c328a0577cde86e21 (patch) | |
tree | 91b800c09f4097462838a930a61adfa93286b2d9 /fs/nls/nls_cp855.c | |
parent | [PATCH] struct seq_operations and struct file_operations constification (diff) | |
download | linux-f46ba2235feab5e686b1234c328a0577cde86e21.tar.xz linux-f46ba2235feab5e686b1234c328a0577cde86e21.zip |
[PATCH] fs: make nls_cp936.c handle some U00XY characters and U20AC correctly
Twenty characters in cp936 are not correctly handled. They're all in the
U00 plane. nls_cp936 converts all U00XY to XY but this is not correct for
some characters.(e.g. U00B7 -> A1A4, U00A8 -> A1A7).
This problem is fixed by generating u2c_00 based on all c2u_xx and changing
uni2char() to give U00 plane a special handling. The "â¬"(U20AC,80 in
cp936) is also be handled properly.
Acked-by: Gang Chen <cgdlut@gmail.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nls/nls_cp855.c')
0 files changed, 0 insertions, 0 deletions