On Tue, Jun 07, 2005 at 10:55:13AM +0300, Sami J. Laine wrote: > Package: locales > Version: 2.3.2.ds1-22 > Severity: normal > File: /usr/sbin/locale-gen > Tags: l10n > > locale-gen seems to be unable to generate ja_JP.eucJP locale when > instructed to do so. As I know less about locales than a common > cow about jet-engines, I'm utterly unable to describe this problem > much further (please see attached error messages). > > --- clip --- > Generating locales... > fi_FI.ISO-8859-1... done > [EMAIL PROTECTED] done > ja_JP.eucJP... > /usr/share/i18n/locales/ja_JP:14876: LC_MESSAGES: unknown character in field > `yesexpr' > /usr/share/i18n/locales/ja_JP:14878: LC_MESSAGES: unknown character in field > `noexpr' [...]
It looks like you added ja_JP.eucJP eucJP instead of ja_JP.eucJP EUC-JP in your /etc/locale.gen. As told in locale.gen(5), you have to select charsets amongst those found under /usr/share/i18n/charmaps. Hmmm, wait a minute, there is a typo in this manual page, here is a patch. Denis
Index: locale.gen.5 =================================================================== --- locale.gen.5 (revision 922) +++ locale.gen.5 (working copy) @@ -28,7 +28,7 @@ where <locale> is one of the locales given in .B /usr/share/i18n/locales and <charset> is one of the character sets listed in -.B /usr/share/i18n/charsets +.B /usr/share/i18n/charmaps The .B locale-gen