LOCALE issue: Pysycache errors on run

Polytropon freebsd at edvax.de
Thu Dec 22 14:04:29 UTC 2011


On Thu, 22 Dec 2011 23:57:28 +1000, Da Rock wrote:
> On 12/22/11 23:20, Polytropon wrote:
> > On Thu, 22 Dec 2011 23:13:53 +1000, Da Rock wrote:
> >> %env LANG=en_EN.ISO8859-1 pysycache.py
> >                 ^^
> > Isn't that supposed to be en_US or en_GB?
> > I'm not sure if there's also en_AU... :-)
> >
> The one variation I didn't try.... I had tried en_US and en_AU, but not 
> with the encoding.

I see - if I remember correctly, $LANG is just
the language combination, while $LC_* do have
the encoding appended, e. g. ISO8859-1, -15 or
UTF-8.

There's also a "precedence rule" regarding $LANG
and the $LC_* settings, and $LC_ALL in relation
to the others of $LC_*.



> BTW there is en_AU.

Cool, didn't know that (just assumed).


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list