$ export LANG=fr_FR.UTF-8 $ echo àâçéèêëîïôûùüÿabc | tr '[:lower:]' '[:upper:]' àâçéèêëîïôûùüÿABC $ uname -a Linux linux 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux $ cat /etc/SuSE-release openSUSE 11.0 (i586) VERSION = 11.0
Co s tym?
echo àâçéèêëîïôûùüÿabc | perl -Mutf8 -pe 'utf8::decode($_);$_=uc($_);utf8::encode($_);'
ÀÂÇÉÈÊËÎÏÔÛÙÜŸABC
coreutils (tr,wc,...) v debiane nema podporu utf8, tento bug je tam od roku 2003 bez zmeny, caka sa na fix v upstreame, niektore distra, napr. redhat si to riesia vlastnymi patchmi