diff options
author | edwin <edwin@FreeBSD.org> | 2009-06-12 23:15:36 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2009-06-12 23:15:36 +0000 |
commit | d305cd8490460faf4e763d10716c77b20f9b0434 (patch) | |
tree | 6971b7e6aca9672e340b0466ca836eca3a5a5f0e /share | |
parent | 9a9408eff83bb5fc67169f8d6436e30346fc8274 (diff) | |
download | FreeBSD-src-d305cd8490460faf4e763d10716c77b20f9b0434.zip FreeBSD-src-d305cd8490460faf4e763d10716c77b20f9b0434.tar.gz |
Fix printing of some wide-characters by iswprint() on ja_JP.eucJP
and ja_JP.SJIS locale
The iswprint() function does not return non-zero if used for
some wide-character that it code was 0x824f-0x8258 on ja_JP.SJIS
and 0xa3b0-0xa3b9 on ja_JP.eucJP locale. But those are right
Japanese wide-character code.
PR: conf/124511
Submitted by: Michihiro NAKAJIMA <ggcueroad@gmail.com>
MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r-- | share/mklocale/ja_JP.SJIS.src | 2 | ||||
-rw-r--r-- | share/mklocale/ja_JP.eucJP.src | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/mklocale/ja_JP.SJIS.src b/share/mklocale/ja_JP.SJIS.src index 0de5a88..fe091fb 100644 --- a/share/mklocale/ja_JP.SJIS.src +++ b/share/mklocale/ja_JP.SJIS.src @@ -80,7 +80,7 @@ PUNCT 0x819f-0x81ac 0x81b8-0x81bf 0x81c8-0x81ce 0x81da-0x81e8 PUNCT 0x81f0-0x81f7 0x81fc /* 300 */ -/* ?DIGIT 0x824f-0x8258 */ +PRINT 0x824f-0x8258 */ /* ?XDIGIT 0x8260-0x8265 0x8281-0x8286 */ ALPHA 0x8260-0x8279 0x8281-0x829a UPPER 0x8260-0x8279 diff --git a/share/mklocale/ja_JP.eucJP.src b/share/mklocale/ja_JP.eucJP.src index 50f2275..37c7318 100644 --- a/share/mklocale/ja_JP.eucJP.src +++ b/share/mklocale/ja_JP.eucJP.src @@ -54,7 +54,7 @@ SPECIAL 0xa2f2 - 0xa2f9 0xa2fe SWIDTH2 0xa2a1 - 0xa2ae 0xa2ba - 0xa2c1 0xa2ca - 0xa2d0 0xa2dc - 0xa2ea SWIDTH2 0xa2f2 - 0xa2f9 0xa2fe -/* ?DIGIT 0xa3b0 - 0xa3b9 */ +PRINT 0xa3b0 - 0xa3b9 UPPER 0xa3c1 - 0xa3da /* Romaji */ LOWER 0xa3e1 - 0xa3fa /* Romaji */ SWIDTH2 0xa3b0 - 0xa3b9 /* Zenkaku Digit */ |