From 1dc0e27d129f8d0b0437b0ddd94e2817fee72894 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 12 Jun 2009 23:15:36 +0000 Subject: [PATCH] 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 MFC after: 1 week --- share/mklocale/ja_JP.SJIS.src | 2 +- 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 0de5a88458b1..fe091fb07d2a 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 50f2275af9b6..37c731820821 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 */