Re: Alignment bug in ls with UTF-8 filenames under Mac OS X
From:
Eric Blake
Subject:
Re: Alignment bug in ls with UTF-8 filenames under Mac OS X
Date:
Mon, 15 Jan 2007 20:13:02 -0700
User-agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Vincent Lefevre on 1/15/2007 8:05 PM:
> Hi,
>
> Under Mac OS X 10.4.8 with ls (GNU coreutils) 5.97 (installed via
> MacPorts), in a 80-column terminal (uxterm), I get:
>
> $ ls
> É y123456789012345678901234567890
> x123456789012345678901234567890 z123456789012345678901234567890
This is yet another symptom of a much larger issue - namely, coreutils
does not handle multi-byte locales well. The problem is that no one has
yet written a patch that makes it easy to handle multibyte locales without
penalizing single-byte locales.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFrEK+84KuGfSFAYARAgo4AJ9sx7SmmVcm7uzsAHcWxK+7GVb2iwCgoKZI
XDy07bliUTYTIzz37ZsA0xI=
=hZfX
-----END PGP SIGNATURE-----