Subject: Re: bug#12192: tr - bytes vs characters

From: Eric Blake <[email-masked]>
Date: Mon, 13 Aug 2012 07:54:02 -0600

On 08/13/2012 06:52 AM, Michael Stummvoll wrote:
> Hi gnu folks,
> 
> as already known, tr cannot handle multibyte-encodings like utf-8:
> 
>> mst@eddie:~$ echo "foo" | tr o ö
>> fÃÃ
> 
> i know, that multibyte encoding support is not needed for
> posix-compilance,

Actually, POSIX _does_ require multi-byte support; it's just that no one
has yet contributed code for this upstream that is easy enough to
maintain and without penalizing single-byte locales.  Patches are welcome.

-- 
Eric Blake   [email-masked]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org