Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2009 07:42:49 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r194477 - stable/7/share/mklocale
Message-ID:  <200906190742.n5J7gn1b034876@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: edwin
Date: Fri Jun 19 07:42:49 2009
New Revision: 194477
URL: http://svn.freebsd.org/changeset/base/194477

Log:
  MFC of 194085
  
    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>

Modified:
  stable/7/share/mklocale/   (props changed)
  stable/7/share/mklocale/ja_JP.SJIS.src
  stable/7/share/mklocale/ja_JP.eucJP.src

Modified: stable/7/share/mklocale/ja_JP.SJIS.src
==============================================================================
--- stable/7/share/mklocale/ja_JP.SJIS.src	Fri Jun 19 07:37:37 2009	(r194476)
+++ stable/7/share/mklocale/ja_JP.SJIS.src	Fri Jun 19 07:42:49 2009	(r194477)
@@ -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: stable/7/share/mklocale/ja_JP.eucJP.src
==============================================================================
--- stable/7/share/mklocale/ja_JP.eucJP.src	Fri Jun 19 07:37:37 2009	(r194476)
+++ stable/7/share/mklocale/ja_JP.eucJP.src	Fri Jun 19 07:42:49 2009	(r194477)
@@ -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?200906190742.n5J7gn1b034876>