bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"tr" doesn't seems to be locale sensitive (UTF-8 problem)


From: Nico Bdav
Subject: "tr" doesn't seems to be locale sensitive (UTF-8 problem)
Date: Tue, 28 Feb 2006 15:09:58 +0100

Description of problem:
Using tr to translate accentuated characters to simple characters.


Version-Release number of selected component (if applicable):
rpm -qf /usr/bin/tr
coreutils-5.2.1-48.1

How reproducible:
Everytime using tr with $LANG=fr_FR.UTF-8
 echo "février"  |  tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ" "aceeeeiioouuACEEEEIIOOUU"
fUevrier


Steps to Reproduce:
1. Verify your locale for me it was LANG=fr_FR.UTF-8
2. Use tr as expected in the man page tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ"
"aceeeeiioouuACEEEEIIOOUU"
3.

Actual results:
 echo "février"  |  tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ" "aceeeeiioouuACEEEEIIOOUU"
fUevrier


Expected results:
 echo "février"  |  tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ" "aceeeeiioouuACEEEEIIOOUU"
fevrier

Here you will find bug-reports with screenshots:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183334
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120933

Greetings


reply via email to

[Prev in Thread] Current Thread [Next in Thread]