summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJun Chen <jimcgnu@yahoo.com>2006-12-06 20:40:37 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 08:39:46 -0800
commitf46ba2235feab5e686b1234c328a0577cde86e21 (patch)
tree91b800c09f4097462838a930a61adfa93286b2d9 /include
parent15ad7cdcfd76450d4beebc789ec646664238184d (diff)
downloadop-kernel-dev-f46ba2235feab5e686b1234c328a0577cde86e21.zip
op-kernel-dev-f46ba2235feab5e686b1234c328a0577cde86e21.tar.gz
[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 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud