On Sat, Jun 04, 2005 at 10:43:41PM +0200, Denis Barbier wrote: > On Fri, Jun 03, 2005 at 04:56:18PM -0400, Daniel Jacobowitz wrote: > > Except that the problem is that (if everything but LANGUAGE is unset) > > I would have expected LANGUAGE to set LC_MESSAGES, and it doesn't. > > This situation should not happen, this is a user configuration error. > All non-ASCII characters are replaced by question marks if LC_CTYPE > is unset, so these settings are not usable.
Huh? I think we're talking past each other. Let me go back to examples. [EMAIL PROTECTED]:~% env - LANG=de_DE cat -h cat: Ungültige Option -- h ,,cat --help" gibt weitere Informationen. With just LANG set, LC_MESSAGES and LC_CTYPE are inferred from LANG. [EMAIL PROTECTED]:~% env - LANGUAGE=de_DE cat -h cat: invalid option -- h Try `cat --help' for more information. With just LANGUAGE set, LC_MESSAGES and LC_CTYPE are not inferred from LANG, because of the choice I think we need to document. They remain as C. [EMAIL PROTECTED]:~% env - LANG=ja_JP LANGUAGE=de_DE cat -h cat: Ung«ältige Option -- h ,,cat --help¡È gibt weitere Informationen. With LANG set to anything other than C, LANGUAGE set, and nothing else, LC_MESSAGES is inferred from C. Interestingly I appear to get LC_CTYPE from LANG, not from LANGUAGE. This also is not clear from the documentation. -- Daniel Jacobowitz CodeSourcery, LLC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]