Subject: misc/26343: can't input Japanese on misc/openoffice
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/16/2004 16:21:38
>Number: 26343
>Category: misc
>Synopsis: can't input Japanese on misc/openoffice
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jul 16 07:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kouichirou Hiratsuka
>Release: NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0G NetBSD 2.0G (FIREFLY.MP) #24: Thu Jul 15 10:30:30 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
With any Japanese locales in the base system, I can't input Japanese
on misc/openoffice. To input Japanese, ja_JP.UTF-8 locale is needed
in the base system.
>How-To-Repeat:
Try to input Japanese on misc/openoffice.
>Fix:
Add ja_JP.UTF-8 locale to the base system.
Index: share/locale/ctype/Makefile
===================================================================
RCS file: /cvs/cvsroot/src/share/locale/ctype/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- share/locale/ctype/Makefile 21 Oct 2003 10:01:20 -0000 1.18
+++ share/locale/ctype/Makefile 16 Jul 2004 05:36:47 -0000
@@ -201,6 +201,10 @@
LOCALESRC_ja_JP.SJIS = ja_JP.SJIS
ALIASES_ja_JP.SJIS+=
+LOCALES += ja_JP.UTF-8
+ LOCALESRC_ja_JP.UTF-8 = en_US.UTF-8
+ ALIASES_ja_JP.UTF-8+=
+
LOCALES += ko_KR.eucKR
LOCALESRC_ko_KR.eucKR = ko_KR.eucKR
ALIASES_ko_KR.eucKR+=
Index: distrib/sets/lists/base/mi
===================================================================
RCS file: /cvs/cvsroot/src/distrib/sets/lists/base/mi,v
retrieving revision 1.492
diff -u -r1.492 mi
--- distrib/sets/lists/base/mi 12 Jul 2004 23:56:57 -0000 1.492
+++ distrib/sets/lists/base/mi 16 Jul 2004 05:39:04 -0000
@@ -1914,6 +1914,8 @@
./usr/share/locale/ja_JP.ISO2022-JP2/LC_CTYPE base-locale-ja nls
./usr/share/locale/ja_JP.SJIS base-locale-ja
./usr/share/locale/ja_JP.SJIS/LC_CTYPE base-locale-ja nls
+./usr/share/locale/ja_JP.UTF-8 base-locale-ja
+./usr/share/locale/ja_JP.UTF-8/LC_CTYPE base-locale-ja nls
./usr/share/locale/ja_JP.ct base-locale-ja
./usr/share/locale/ja_JP.ct/LC_CTYPE base-locale-ja nls
./usr/share/locale/ja_JP.eucJP base-locale-ja
Index: etc/mtree/NetBSD.dist
===================================================================
RCS file: /cvs/cvsroot/src/etc/mtree/NetBSD.dist,v
retrieving revision 1.266
diff -u -r1.266 NetBSD.dist
--- etc/mtree/NetBSD.dist 12 Jul 2004 23:55:33 -0000 1.266
+++ etc/mtree/NetBSD.dist 16 Jul 2004 05:39:43 -0000
@@ -551,6 +551,7 @@
./usr/share/locale/ja_JP.ISO2022-JP
./usr/share/locale/ja_JP.ISO2022-JP2
./usr/share/locale/ja_JP.SJIS
+./usr/share/locale/ja_JP.UTF-8
./usr/share/locale/ja_JP.ct
./usr/share/locale/ja_JP.eucJP
./usr/share/locale/ko
>Release-Note:
>Audit-Trail:
>Unformatted: