Viestissä Keskiviikko 18. Syyskuuta 2002 20:14, Edward Cherlin kirjoitti:
> On Wednesday 18 September 2002 04:38 am, Thomas Backlund wrote:
> > As it turns out the install sets all the locale settings to 'en_US',
> > even if it should be 'fi_FI@euro', since I chose Finnish Language
> > install.
> >
> > The directory '/usr/share/i18n' contains all the necessary files
> > ...
> >
> >
> > BTW, how do you change the system locales,
> > other than editing /etc/sysconfig/i18n
> > and the users .i18n
>
> I use
>
> declare -x LC_ALL="en_US.UTF-8"
>
> You want
>
> declare -x LC_ALL="fi_FI@euro"
>
> or the more comprehensive setting,
>
> declare -x LC_ALL="fi_FI.UTF-8"
>
> The LC_ALL setting overrides the other LC_* settings.
>
> > When I changed theese files manually,
> > the system works as it should ...
>
> Whichever of these you use, you have to put it into one of your
> startup files, so you still have to do a bit of editing, but only in
> one place.
>
> > Thomas

So...
I have been playin around with the locales,
and this is what should be in /etc/sysconfig/i18n:
(and of course every users .i18n LC...lines should point to 'fi_FI@euro')
--- cut ---
SYSFONTACM=iso15
LC_CTYPE=fi_FI@euro
LANGUAGE=fi_FI@euro:fi
LC_MONETARY=fi_FI@euro
LC_COLLATE=fi_FI@euro
LC_NUMERIC=fi_FI@euro
SYSFONT=lat1-16
LC_TIME=fi_FI@euro
LANG=fi_FI@euro
LC_MESSAGES=fi_FI@euro
--- cut ---

This way you have support for:
ISO-8859-15 
ISO-8859-1
UTF-8

if you change the 'fi_FI@euro' to 'fi_FI.UTF-8'
every language package that is encoded with the ISO...
will get weird output (wrong chars, etc...)

This should be in the 9.0 Release, shouldn't it...

Thomas


Reply via email to