Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: math and locale
- X-seq: zsh-workers 8792
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: math and locale
- Date: Fri, 26 Nov 1999 22:08:43 +0000
- In-reply-to: "Zefram"'s message of "Mon, 22 Nov 1999 20:03:39 GMT." <E11pzgZ-00082P-00@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Zefram wrote:
> * We can use the selected locale for LC_MESSAGES, which only affects
> things that are definitely for human consumption, and leave everything
> else using the "C" locale. This would have almost exactly the desired
> effect for zsh, and is trivially easy to implement.
Sounds reasonable, since there's definitely no chance of getting things
like alternative decimal points right with locales active.
I don't see a problem with using locales in the ctype macros, so that Ü is
recognized as an uppercase letter, etc. --- is there one? Relying on
printeightbit for output is about the only alternative, and isn't very
reliable. Or maybe you simply weren't thinking of that, since it doesn't
determine the output of one character rather than another.
We could consider options to use locales in other cases (e.g. standard glob
sorting), but I suspect a final decision not to use them would be better
here.
--
Peter Stephenson <pws@xxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author