Re: Misalignment of pinky output: lack of support of multibyte char
From:
Jim Meyering
Subject:
Re: Misalignment of pinky output: lack of support of multibyte char
Date:
Fri, 15 Jan 2010 12:28:19 +0100
Rodolfo Ribeiro Gomes wrote:
> Hello. I was translating coreutils 8.3 and testing it when I saw that
> the pinky output was not fine:
> $ pinky
> UsuƔrio Nome TTY Ocioso Quando Onde
> rodolfo Rodolfo Ribeiro Gom tty7 03:07 2010-01-14 18:03 :0
>
> So I tried to see it on english, and it is ok:
>
> $ LC_ALL=en pinky
> Login Name TTY Idle When Where
> rodolfo Rodolfo Ribeiro Gom tty7 03:10 Jan 14 18:03 :0
>
> I changed the char Ć” from my string as I use UTF-8, and it becomes ok,
> but not with a correct spell:
>
> $ pinky
> Usuario Nome TTY Ocioso Quando Onde
> rodolfo Rodolfo Ribeiro Gom tty7 03:10 2010-01-14 18:03 :0
Thanks for the report.
There are a few programs like this, including df and who.
No one has been motivated to work on the general problem,
but we would welcome patches.