From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Ariel Rivas" <arielcrivas@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: Strange characters in zsh/langinfo
Date: Sat, 22 Jul 2023 13:56:01 -0400 [thread overview]
Message-ID: <9c7146be-87e5-4f5e-a8d8-2bd5be8d2d1d@app.fastmail.com> (raw)
In-Reply-To: <CACK06-JTg7MroDAAnFAtBHWNhyKeBPEy7M14hcNZ_DikRxfGEw@mail.gmail.com>
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
prev parent reply other threads:[~2023-07-22 17:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-22 9:58 Ariel Rivas
2023-07-22 17:56 ` Lawrence Velázquez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9c7146be-87e5-4f5e-a8d8-2bd5be8d2d1d@app.fastmail.com \
--to=larryv@zsh.org \
--cc=arielcrivas@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).