bug-coreutils
[Top][All Lists]
Advanced

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

tr doesn't support multibyte characters


From: Egmont Koblinger
Subject: tr doesn't support multibyte characters
Date: Wed, 14 Sep 2005 18:12:51 +0200
User-agent: Mutt/1.5.6+20040722i

Hi,

tr (from coreutils 5.2.1, but I saw no changelog entry corresponding to this
in 5.3.0) doesn't support UTF-8 encoding. This is an excerpt from a terminal
set to UTF-8 mode and LANG=hu_HU.UTF-8 (no LC_* variable);

$ echo á | tr á a
aa
$ echo a | tr a á

$ 


I guess tr should support multibyte character sets, even if not by default,
then by providing a command line option.

If I'm wrong and the current behavior is the desired one then please replace
all occurances of "character" to "byte" in its manual.



Thanks,

Egmont




reply via email to

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