Am Freitag, 18. August 2006 21:06 schrieb Dan Nicholson:
> On 8/18/06, Mag. Leonhard Landrock <[EMAIL PROTECTED]> wrote:
> > Next, I have a look at de_AT and its friends.
> >
> > root:/# LC_ALLL=de_AT locale charmap
> > ANSI_X3.4-1968
>
> First, it's LC_ALL with two L's.

That was the problem. :-)

> On my system I get: 
>
> $ LC_ALL=de_AT locale charmap
> ISO-8859-1

Me too.

> That seems much more sensible as charset. Since you aren't passing
> LC_ALL correctly, it's returning the default charset, maybe? I've
> never seen that one used before, and it seems like a legacy name.
>
> > root:/# LC_ALLL=ANSI_X3.4-1968 locale language
>
> This isn't a valid locale specifier. You're only passing a character
> set (besides the LC_ALLL issue). From the output of `locale -a', you
> had
>
> de_AT
> de_AT.iso88591
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> So, you'd want to do something like this.
>
> $ LC_ALL=de_AT locale charmap
> ISO-8859-1
>
> That means that the canonical locale name is de_AT.ISO-8859-1. Let's
> see what it spits out for the other values.
>
> $ LC_ALL=de_AT.ISO-8859-1 locale language
> German
> $ LC_ALL=de_AT.ISO-8859-1 locale charmap
> ISO-8859-1
> $ LC_ALL=de_AT.ISO-8859-1 locale int_curr_symbol
> EUR
> $ LC_ALL=de_AT.ISO-8859-1 locale int_prefix
> 43
>
> Do those seem right?

Perfectly right.

> --
> Dan

Leonhard.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to