Hello!


 I've been using for sometime now LC_ALL=pt_BR.UTF-8 and
noticed that some things don't work quite as I expected, and
others don't seem to work at all.

 $ echo 'ABC' | grep '[a-z]'
 gives me
 ABC

which is weird, but, as I read from previous postings, it's the
way it is supposed to work.

BUT:

 $ echo 'ABÇ' | tr [:upper:] [:lower:]
 gives me
 abÇ
 (the last character is an uppercase cedilla)
 I expecte its output to be:
 abç

Am I doing something wrong?
Is tr (version 2.1) broken? It happens with sed, too.

Hope someone helps me!

Alex J.

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/



Reply via email to