bug-coreutils
[Top][All Lists]
Advanced

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

Re: who is not wide-character aware


From: Eric Blake
Subject: Re: who is not wide-character aware
Date: Tue, 08 May 2007 18:20:48 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to address@hidden on 5/8/2007 4:41 PM:
> Hello,
> 
> I'm working on Czech translation for coreutils. I've found out that if I use
> UTF-8 locale and I translate the headers using wide characters, then the
> heading of who command (who -H) will be badly aligned. And even some headers
> can disappear.
> 
> I noticed this bug in coreutils-6.9 in locale cs_CZ.UTF-8 and messeages in
> Czech PO catalogue like:
> 
> #: src/who.c:551
> msgid "TIME"
> msgstr "ČAS"
> 
> Headers following header _("TIME") are shifted to left. More wide characters
> in traslatation shift the headers more left and after excedening a number of
> them some headers are not visible.
> 
> It seems that print_line() in src/who.c counts bytes instead of characters.

Thanks for the report.  This is yet another instance of the more general
bug that coreutils is not wide-character aware.

- --
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

iD8DBQFGQRPg84KuGfSFAYARAp0jAKCEMRrNCyAe66/jfoETCxUSq7GvyACgx+3f
XjhDjUkHYLd2Wq5p7P8bOfc=
=IP0g
-----END PGP SIGNATURE-----




reply via email to

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