conf/163168: JIS X0208 space should be treated as printable in
ja_JP.eucJP locale.
HATANO Tomomi
hatanou at infolab.ne.jp
Sat Dec 10 19:40:04 UTC 2011
>Number: 163168
>Category: conf
>Synopsis: JIS X0208 space should be treated as printable in ja_JP.eucJP locale.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 10 19:40:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: HATANO Tomomi
>Release: FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD moon.infolab.ne.jp 8.2-STABLE FreeBSD 8.2-STABLE #21: Wed Jun 1 04:26:50 JST 2011 hatanou at moon.infolab.ne.jp:/usbflash/obj/usbflash/src/sys/EEE i386
>Description:
In ja_JP.eucJP locale, 0xa1a1 is JIS X0208 space (i.e. full-width space).
This character is not marked as PRINT in mklocale source file.
This affects programmes using iswprint(3), e.g. ls(1).
>How-To-Repeat:
Go into ja_JP.eucJP locale,
create a file which has full-width space in its name,
then ls(1).
'?' is printed out where full-width space sould be.
>Fix:
Apply this patch and
re-create /usr/share/locale/ja_JP.eucJP/LC_CTYPE.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ja_JP.eucJP.src.diff
#
echo x - ja_JP.eucJP.src.diff
sed 's/^X//' >ja_JP.eucJP.src.diff << 'db2f5274d5a3d59a136ea8e56627969e'
X--- src/share/mklocale/ja_JP.eucJP.src.orig 2009-08-03 17:13:06.000000000 +0900
X+++ src/share/mklocale/ja_JP.eucJP.src 2011-12-11 03:54:50.000000000 +0900
X@@ -44,6 +44,7 @@
X
X SPACE 0xa1a1
X BLANK 0xa1a1
X+PRINT 0xa1a1
X PHONOGRAM 0xa1bc
X SPECIAL 0xa1a2 - 0xa1fe
X PUNCT 0xa1a2 - 0xa1f8 /* A few too many in here... */
db2f5274d5a3d59a136ea8e56627969e
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list