On Mon, 15 Dec 2003, Federic Zhang wrote: > Choe Hwanjin wrote: > > I make utf8 text file for test. It contains utf8-encoded > > ksx1001(ksc5601) chars. When I convert it to EUC-KR with iconv, no > > conversion error occur. > > > > On X environment, I made TextProperty from Xutf8TextListToTextProperty > > and I converted the generated text property to the TextList by calling > > XmbTextPropertyToTextList. On UTF-8 locale, there was no error. But on > > ko_KR.EUC-KR locale, some errors occured. Almost chars converted > > successfully, but below chars did not: > > > > Unconvertable: U+00B7 [Â(2)] ....<snip...> > > Unconvertable: U+20AC [â(3)] > > Unconvertable: U+00AE [Â(2)] .... snip...
> ksc5601.h needs to be updated to be consistent with iconv. otherwise, > charset_wctocs() can't find appropriate charset for those characters in > EUC-KR locale. KS X 1001:1998 has just two more characters, U+20AC and U+00A9 added to KS C 5601-1987. I submitted a patch a couple of years ago to add them to ksc5601.h, but was told that it's not a good idea to change the meaning of X11 Compound Encoding (based on KS C 5601-1987 among many other nat'l coded character sets) and the patch was not accepted. Other parts of XFree86 (e.g. font encoding files) and glibc are all up to date. However, Hwanjin's list is a lot more extensive than just two new characters. His list has two dozen characters (all in ISO-8859-1 range except for U+20AC). It seems like something strange is going on. Jungshik _______________________________________________ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n
