GNU bug report logs -
#14456
multibyte: stat's %[X] counts bytes instead of characters
Previous Next
Full log
Message #10 received at control <at> debbugs.gnu.org (full text, mbox):
close 14456
stop
(triaging old bugs)
Hello,
On 23/05/13 02:39 PM, camion_spam-debrpbg <at> yahoo.fr wrote:
> stat (GNU coreutils) 8.5
>
> the format string length is counted in bytes and not in characters so that the presence of variable length characters causes misalignment
>
> In the following example the character 'é' is 2 bytes long :
> $ find . | while read P; do LANG=C stat --printf '%16F 0x%f\n' "$P"; done
> directory 0x41ed
> symbolic link 0xa1ff
>
> regular file 0x81f6
> $ find . | while read P; do LANG=fr_BE.UTF-8 stat --printf '%16F 0x%f\n' "$P"; done
> répertoire 0x41ed
> lien symbolique 0xa1ff
> fichier 0x81f6
>
It seems your email "fell between the cracks" and not replied to in many
years. Sorry about that.
If this is still an issue, please visit the following page to
find the contact person about French translations:
http://translationproject.org/domain/coreutils.html
As the coreutils' team can't fix translations, I'm closing this item.
regards,
- assaf
This bug report was last modified 6 years and 244 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.