correct value for LANG variable

2005-01-22 Thread Bjrn Knig
I am a bit confused. Neither de_DE.ISO-8859-1 nor de_DE.ISO8859-1 work properly in all cases. setenv LANG de_DE.ISO8859-1 echo abcdef uvwxyz | tr '[a-z]' '[A-Z]' ABCDEF ÚWXYÝ] setenv LANG de_DE.ISO-8859-1 echo abcdef uvwxyz | tr '[a-z]' '[A-Z]' ABCDEF UVWXYZ perl perl: warning: Setting locale

Re: correct value for LANG variable

2005-01-22 Thread Tim Robbins
On Sat, Jan 22, 2005 at 04:52:45PM +0100, Bj?rn K?nig wrote: I am a bit confused. Neither de_DE.ISO-8859-1 nor de_DE.ISO8859-1 work properly in all cases. setenv LANG de_DE.ISO8859-1 echo abcdef uvwxyz | tr '[a-z]' '[A-Z]' ABCDEF ?WXY?] For better or worse, this is not the correct way to

Re: correct value for LANG variable

2005-01-22 Thread Michael Nottebrock
On Saturday, 22. January 2005 16:52, Björn König wrote: I am a bit confused. Neither de_DE.ISO-8859-1 nor de_DE.ISO8859-1 work properly in all cases. setenv LANG de_DE.ISO8859-1 echo abcdef uvwxyz | tr '[a-z]' '[A-Z]' ABCDEF ÚWXYÝ] This is the correct locale name, but don't use tr like

Re: correct value for LANG variable

2005-01-22 Thread Björn König
Tim Robbins wrote: For better or worse, this is not the correct way to perform case conversion in non-ASCII locales on FreeBSD 5 and later. See the COMPATIBILITY section of the tr(1) manpage for more information. Thanks a lot for this hint. I will pay more attention to this section. Regards Björn

Re: correct value for LANG variable

2005-01-22 Thread Bjrn Knig
Michael Nottebrock schrieb: Use tr [:lower:] [:upper:] instead. I was wondering about a third-party script which always worked for years with Solaris. I just didn't realized that this issue concerns a difference between SysV and BSD. I tried to set another LANG string and it worked, but now I see

Re: correct value for LANG variable

2005-01-22 Thread Tim Robbins
On Sat, Jan 22, 2005 at 06:29:29PM +0100, Bj?rn K?nig wrote: Michael Nottebrock schrieb: Use tr [:lower:] [:upper:] instead. I was wondering about a third-party script which always worked for years with Solaris. I just didn't realized that this issue concerns a difference between SysV