Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange characters in zsh/langinfo
On Sat, Jul 22, 2023, at 5:58 AM, Ariel Rivas wrote:
> Fellows:
> My locale is UTF-8 es_AR (Spanish, Argentina) and there's a strange &
> probably null character
> in DAY_7 and ABDAY_7 keys of the $langinfo associative array
I can reproduce the same (or a similar) problem on macOS.
% zmodload zsh/langinfo
% (LANG=es_ES.UTF-8; print -r -- $langinfo[DAY_7]) | od -t x1 -t c
0000000 73 c3 62 61 64 6f 0a
s 303 b a d o \n
0000007
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author