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

Re: F*****g locales ....



On Mon, 2002-10-21 at 15:07, Andrew Fowler wrote:
> I live in Germany and would like to use German standards (e.g for date
> formating) as well as have all German, French, Spanish and the Euro
> symbols at my disposal (both in X and on terminal).  I wish to retain
> English (British version if poss.) as the default system language
> though.  
> 
> I've figured so far that I should use ISO-8859-15 (or Unicode .. is that
> available) char sets.  
> 
> Trying to reconfigure the system using dpkg-reconfigure locales just
> generates locales but does nothing more (doesn't seem to set them up for
> use).  This morning I found a reference to localedef and tried that with
> en_GB@ISO-8859-15 and set it up which resulted in a mess: now even a
> simple "ls" in an xterm results in a weird mix of characters - more or
> less incomprehensible ....
> 
> 
> Anyway .. has anybody succeeded in such a situation - what's the answer
> ?  Otherwise, does anybody know of good documentation which explains the
> how and why behind all this stuff ??

You just need to set a few environment variables accordingly. 

LANG="en_GB@iso-8859-15"
LC_CTYPE="de_DE@iso-8859-15"

export LANG LC_CTYPE

See 'man locale' for a list and description of other variables. Just run
`locale' to see your current settings.

-- 
Claudio Bley                                 ASCII ribbon campaign (")
Debian GNU/Linux advocate                     - against HTML email  X 
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \



Reply to: