From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 10 19:40:03 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0D2A106564A for ; Sat, 10 Dec 2011 19:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A69538FC0C for ; Sat, 10 Dec 2011 19:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBAJe3JI072586 for ; Sat, 10 Dec 2011 19:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBAJe3SI072585; Sat, 10 Dec 2011 19:40:03 GMT (envelope-from gnats) Resent-Date: Sat, 10 Dec 2011 19:40:03 GMT Resent-Message-Id: <201112101940.pBAJe3SI072585@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, HATANO Tomomi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E24621065672 for ; Sat, 10 Dec 2011 19:36:54 +0000 (UTC) (envelope-from hatanou@infolab.ne.jp) Received: from moon.infolab.ne.jp (unknown [IPv6:2001:3e0:90c::1]) by mx1.freebsd.org (Postfix) with ESMTP id 71BFE8FC12 for ; Sat, 10 Dec 2011 19:36:54 +0000 (UTC) Received: from moon.infolab.ne.jp (localhost [127.0.0.1]) by moon.infolab.ne.jp (8.14.4/8.14.4) with ESMTP id pBAJapYL023397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 11 Dec 2011 04:36:52 +0900 (JST) (envelope-from hatanou@moon.infolab.ne.jp) Received: (from hatanou@localhost) by moon.infolab.ne.jp (8.14.4/8.14.4/Submit) id pBAJapkB023391; Sun, 11 Dec 2011 04:36:51 +0900 (JST) (envelope-from hatanou) Message-Id: <201112101936.pBAJapkB023391@moon.infolab.ne.jp> Date: Sun, 11 Dec 2011 04:36:51 +0900 (JST) From: HATANO Tomomi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/163168: JIS X0208 space should be treated as printable in ja_JP.eucJP locale. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: HATANO Tomomi List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 19:40:04 -0000 >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@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: