Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tests: A03quoting.ztst and B03print.ztst fail on Alpine
- X-seq: zsh-workers 48590
- From: Sören Tempel <soeren@xxxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Tests: A03quoting.ztst and B03print.ztst fail on Alpine
- Date: Thu, 15 Apr 2021 20:15:28 +0200
- Archived-at: <https://zsh.org/workers/48590>
- In-reply-to: <CAH+w=7ZFCVk76p4BWDj3f4wYOEiTw1_LWMdO9Psd84ZyRt-+5w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <2QI8MIXULYGHT.3LL9GVWTMMU4C@8pit.net> <CAH+w=7ZFCVk76p4BWDj3f4wYOEiTw1_LWMdO9Psd84ZyRt-+5w@mail.gmail.com>
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Wed, Apr 14, 2021 at 12:49 PM Sören Tempel <soeren@xxxxxxxxxxxxxxxxx> wrote:
> >
> > -16#DC
> > +16#DFDC
> [...]
> > -f0
> > +dff0
>
> Both of these look like the test is operating in a 16-bit locale
> instead of an 8-bit locale. ztst.zsh resets all the locale-related
> environment variables to "C" only if they already are set; a default
> locale that does not appear in the environment won't be changed:
Yep, that does indeed seem to be the case. With LC_COLLATE=C and
LANG=C.UTF-8 the mentioned test cases fail, without these environment
variables set, they pass. Thanks for pointing this out!
Greetings,
Sören
Messages sorted by:
Reverse Date,
Date,
Thread,
Author