[Top][All Lists]

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

who is not wide-character aware

From: petr . pisar
Subject: who is not wide-character aware
Date: Wed, 9 May 2007 00:41:48 +0200
User-agent: Mutt/1.5.15 (2007-04-06)


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.

-- Petr Pisar

Attachment: pgp1hw7MZzORV.pgp
Description: PGP signature

reply via email to

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