bug-coreutils
[Top][All Lists]
Advanced

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

tr is not working correctly with Turkish locale


From: Ismail Donmez
Subject: tr is not working correctly with Turkish locale
Date: Sat, 5 Nov 2005 05:57:34 +0200
User-agent: KMail/1.8.92

Hi,

All tr versions up to including coreutils 5.3.0 seems to be buggy with Turkish 
locale :

address@hidden ~ $ echo $LANG
tr_TR.UTF-8

# problematic with i-dotless
address@hidden ~ $  echo "IĞÜŞİÖÇ" | tr 'IĞÜŞİÖÇ' 'ığüşiöç' 
ğ�üşiöç

# completely broken
address@hidden ~ $  echo "IĞÜŞİÖÇ" | tr '[:upper:]' '[:lower:]' 
IĞÜŞİÖÇ

Expected output is this:

address@hidden ~ $  echo "IĞÜŞİÖÇ" | tr 'IĞÜŞİÖÇ' 'ığüşiöç'
ığüşiöç
address@hidden ~ $  echo "IĞÜŞİÖÇ" | tr '[:upper:]' '[:lower:]'
ığüşiöç

reply via email to

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