Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Tests: A03quoting.ztst and B03print.ztst fail on Alpine



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