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
This commit is contained in:
Edwin Groothuis 2009-06-12 23:15:36 +00:00
parent a5599e5ade
commit 1dc0e27d12
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194085
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 */