open-src/lib/libX11/sun-src/src/xlibi18n/lcUniConv/ksc5601_1992.h
changeset 986 4c9f2c882fac
parent 341 0a1eb61fd56e
child 1186 7d25a7879b31
--- a/open-src/lib/libX11/sun-src/src/xlibi18n/lcUniConv/ksc5601_1992.h	Wed Jul 21 13:24:01 2010 -0700
+++ b/open-src/lib/libX11/sun-src/src/xlibi18n/lcUniConv/ksc5601_1992.h	Wed Jul 21 22:22:22 2010 -0700
@@ -4195,6 +4195,11 @@
         h = 0xD9B0;
     } else if (wc==0x25C9) {
         h = 0xD9C1;
+    } else if ((wc >= 0x3041 && wc <= 0x309F) || (wc >= 0x30A0 && wc <= 0x30FF)) {
+        /* Hiragana and Katakana should be handled in jis0208 as below else block
+          is KSC specific and breaks Hiragana/Katakana */
+        return RET_ILSEQ;
+
     } else {
         /* Try KSC5601, now KS X 1001. */
         ret = ksc5601_wctomb(conv, buf, wc, 2);