Date: Fri, 12 Jun 2009 23:15:36 +0000 (UTC) From: Edwin Groothuis <edwin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194085 - head/share/mklocale Message-ID: <200906122315.n5CNFaCI095981@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: edwin Date: Fri Jun 12 23:15:36 2009 New Revision: 194085 URL: http://svn.freebsd.org/changeset/base/194085 Log: 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 Modified: head/share/mklocale/ja_JP.SJIS.src head/share/mklocale/ja_JP.eucJP.src Modified: head/share/mklocale/ja_JP.SJIS.src ============================================================================== --- head/share/mklocale/ja_JP.SJIS.src Fri Jun 12 22:53:49 2009 (r194084) +++ head/share/mklocale/ja_JP.SJIS.src Fri Jun 12 23:15:36 2009 (r194085) @@ -80,7 +80,7 @@ PUNCT 0x819f-0x81ac 0x81b8-0x81bf 0x81c PUNCT 0x81f0-0x81f7 0x81fc /* 300 */ -/* ?DIGIT 0x824f-0x8258 */ +PRINT 0x824f-0x8258 */ /* ?XDIGIT 0x8260-0x8265 0x8281-0x8286 */ ALPHA 0x8260-0x8279 0x8281-0x829a UPPER 0x8260-0x8279 Modified: head/share/mklocale/ja_JP.eucJP.src ============================================================================== --- head/share/mklocale/ja_JP.eucJP.src Fri Jun 12 22:53:49 2009 (r194084) +++ head/share/mklocale/ja_JP.eucJP.src Fri Jun 12 23:15:36 2009 (r194085) @@ -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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906122315.n5CNFaCI095981>