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

Bug#243237: locales: Setting default locale to en_US.ISO-8859-15 causes invalid LANG setting



reassign 243237 xlibs-data
severity 243237 normal
thanks

At Mon, 12 Apr 2004 01:13:28 +0200,
Frans Pop wrote:
> Using debian-installer I have installed a clean unstable system.
> After installation I have done 'dpkg-reconfigure locales' and generated
> the locales listed below in 'debconf information'.
> I selected en_US.ISO-8859-15 as my default locale.
> This also sets 'LANG=en_US.ISO-8859-15' in /etc/environment.
> 
> It appears this is an invalid setting, at least for the X Window environment.
> If I start an application from a terminal (KDE's konsole), I get messages
> like this:
>   fjp@sauron:~$ xterm
>   Warning: locale not supported by Xlib, locale set to C
...
> An strace for this last situation is attached.
> 
> All problems disappear if I set LANG=C or LANG=en_US.
> 
> I do not know if the LANG setting itself is invalid or not, but the problems
> it causes seem to me to be unacceptable.
> I think other, similar locales may cause the same problems.

I guess your problem can fix using LANG=en_US.ISO8859-15.  The reason
is /usr/X11R6/lib/X11/locale/locale.alias has en_US.ISO8859-15, but
not en_US.ISO-8859-15.  This is X11 problem.  I reassign it to X11
package.

Regards,
-- gotom



Reply to: