Bug#799856: libc6: strftime doesn't honor the charmap
Le 23/09/2015 12:17, Vincent Lefevre a écrit :
> Package: libc6
> Version: 2.19-22
> Severity: normal
>
> strftime doesn't honor the charmap. The following shows that strftime
> yields ISO-8859-1 characters while the charmap is UTF-8.
>
> $ locale
> LANG=POSIX
> LANGUAGE=
> LC_CTYPE=en_US.UTF-8
> LC_NUMERIC="POSIX"
> LC_TIME=fr_FR
^^^^^^^^^^^^^
LC_TIME is set to fr_FR, that is latin1.
If LC_TIME is set to fr_FR.utf8, I cannot observe the problem anymore.
$ LC_TIME=fr_FR date -d 2015-02-07 +%b | hexdump -C
00000000 66 e9 76 72 2e 0a |f.vr..|
00000006
$ LC_TIME=fr_FR.utf8 date -d 2015-02-07 +%b | hexdump -C
00000000 66 c3 a9 76 72 2e 0a |f..vr..|
00000007
If you agree with me, I let you close the bug.
Regards,
Vincent
--
Vincent Danjean GPG key ID 0xD17897FA vdanjean@debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5 CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
Reply to: