[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9569: :upper: and :lower: not working with tr and utf8 characters
From: |
Milos Sramek |
Subject: |
bug#9569: :upper: and :lower: not working with tr and utf8 characters |
Date: |
Wed, 21 Sep 2011 21:47:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 |
Hello,
there seems to be a bug in tr: utf8 characters are not converted using
:upper: and :lower:
For example:
$ echo lľsšcčtťzž | tr [:lower:] [:upper:]
LľSšCčTťZž
AWK does it correctly
$ echo lľsšcčtťzž | awk '{ print toupper($0) }'
LĽSŠCČTŤZŽ
Used system: Ubuntu 10.10, my locale settings are
$ env locale
LANG=sk_SK.utf8
LC_CTYPE="sk_SK.utf8"
LC_NUMERIC=en_US.utf8
LC_TIME="sk_SK.utf8"
LC_COLLATE="sk_SK.utf8"
LC_MONETARY="sk_SK.utf8"
LC_MESSAGES="sk_SK.utf8"
LC_PAPER="sk_SK.utf8"
LC_NAME="sk_SK.utf8"
LC_ADDRESS="sk_SK.utf8"
LC_TELEPHONE="sk_SK.utf8"
LC_MEASUREMENT="sk_SK.utf8"
LC_IDENTIFICATION="sk_SK.utf8"
LC_ALL=
Observed on other systems, too.
thank you
Milos
--
email & jabber: address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#9569: :upper: and :lower: not working with tr and utf8 characters,
Milos Sramek <=