Hi,

I found a problem on JIS X 0208 -> Unicode table in libX11
(xc/lib/X11/lcUniConv/jisx0208.h).

The reverse solidus in JIS X 0208 is mapped into U+005C
in the above file.  Since JIS X 0208 is almost always used
with combined with ASCII, it causes a conflict between
reverse solidus in JIS X 0208 and ASCII.

This is why GNU libc maps reverse solidus in JIS X 0208
into U+FF3C (FULLWIDTH REVERSE SOLIDUS).  Thus, the current
situation of libX11 causes a conflict of mapping tables
between GNU libc and XFree86.

I found this bug when I input fullwidth reverse solidus
using Japanese XIM and XTerm under UTF-8 locale.

I remember Markus Kuhn admited this is a problem, though I
cannot show the mail now....

Here is a patch.  I think this patch is a bugfix and I hope
this 'bug' is 'fix'ed soon.

--- jisx0208.h  Sat Aug 11 00:43:39 2001
+++ jisx0208.h.new      Fri Oct 26 23:48:33 2001
@@ -9,7 +9,7 @@
   0x3000, 0x3001, 0x3002, 0xff0c, 0xff0e, 0x30fb, 0xff1a, 0xff1b,
   0xff1f, 0xff01, 0x309b, 0x309c, 0x00b4, 0xff40, 0x00a8, 0xff3e,
   0xffe3, 0xff3f, 0x30fd, 0x30fe, 0x309d, 0x309e, 0x3003, 0x4edd,
-  0x3005, 0x3006, 0x3007, 0x30fc, 0x2015, 0x2010, 0xff0f, 0x005c,
+  0x3005, 0x3006, 0x3007, 0x30fc, 0x2015, 0x2010, 0xff0f, 0xff3c,
   0x301c, 0x2016, 0xff5c, 0x2026, 0x2025, 0x2018, 0x2019, 0x201c,
   0x201d, 0xff08, 0xff09, 0x3014, 0x3015, 0xff3b, 0xff3d, 0xff5b,
   0xff5d, 0x3008, 0x3009, 0x300a, 0x300b, 0x300c, 0x300d, 0x300e,

---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N"  http://www.debian.org/doc/manuals/intro-i18n/
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to