[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with locales and Norwegian

Preben Randhol <randhol@pvv.org>:

> I tried 
> export LANGUAGE=nb_NO:no_NO:nn_NO
> but this didn't work. However I just found out that if I also do:
> export LANG=nb_NO 
> then it workds

I think the library ignores LANGUAGE if you're in the C locale, or
something like that, perhaps for standards compatibility, and perhaps
also because without a locale the library doesn't know what encoding
to use.


	env -i LANGUAGE=de_DE LANG=fr_FR tr

gives you German in ISO-8859-1, but

	env -i LANGUAGE=de_DE tr

gives you C/English in US-ASCII, and

	env -i LANGUAGE=de_DE LANG=eo_XX.UTF-8 tr

gives you German in UTF-8.


Reply to: