* Colin Watson ([EMAIL PROTECTED]) wrote:
<SNIP>
> The environment variable setting 'LANG=en.ISO8859-1' isn't valid. Try
> 'LANG=en_US.ISO-8859-1' instead; it might be in your shell startup
> scripts or something.
> 
> Here's a quick way to tell if a locale is valid (although of course you
> could just run perl, too :)):
> 
>   [EMAIL PROTECTED] ~]$ cat testlocale.c
>   #include <stdio.h>
>   #include <locale.h>
>   int main() {
>           printf ("%s\n", setlocale (LC_ALL, ""));
>           return 0;
>   }
>   [EMAIL PROTECTED] ~]$ make testlocale
>   cc     testlocale.c   -o testlocale
>   [EMAIL PROTECTED] ~]$ ./testlocale 
>   C
>   [EMAIL PROTECTED] ~]$ LC_ALL=en.ISO8859-1 ./testlocale
>   (null)
>   [EMAIL PROTECTED] ~]$ LC_ALL=en_US.ISO-8859-1 ./testlocale
>   en_US.ISO-8859-1
> 
> -- 
> Colin Watson                                  [EMAIL PROTECTED]

Hi Colin.

I've just stumbled into this thread, and have a tangental question.  If I
want to be able to see other characters (ie. German umlauts, etc.) what
needs to be done here?

I was able to do the test you've outlined above, and I got all the same
results as you did.  Now what?  Is this supposed to be set in my:
        .bash_profile
or where?  Could you please enlighten me as to the syntax of the file in
question?

TIA,

Mike Pfleger

There's seventy brilliant people on earth.
Where are they hiding?
"Yashar" -Cabaret Voltaire (off of "2x45")

Reply via email to