environment variable LANG set to wrong value on Solaris 10 #3113

Closed
michaelrsweet opened this Issue Feb 27, 2009 · 1 comment

Comments

Projects
None yet
1 participant
Collaborator

michaelrsweet commented Feb 27, 2009

Version: 1.3.9
CUPS.org User: wib

cups-1.3.9 on my Solaris 10 U6 SPARC system is setting the LANG
environment variable wrong. It's always set to 'en_US.UTF8' (without
dash). This setting gives

couldn't set locale correctly

error messages for all filter programs, and these are then running with
default C locale. UTF-8 char are not seen correctly and converted
the wrong way.

The correct setting should be 'en_US.UTF-8' (with dash).

The 'locale' command shows all available locales. On my Solaris systems
this shows:

% locale -a | egrep en_US.UTF
en_US.UTF-8

We dont't have any other cups server running, so we can't check the
behaviour on Linux or MacOS.

My language definitions in cupsd.conf:

 DefaultLanguage en_US
 DefaultCharset  UTF-8
Collaborator

michaelrsweet commented Mar 5, 2009

CUPS.org User: mike

Fixed in Subversion repository.

michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment