zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: math and locale
Date: Fri, 26 Nov 1999 22:08:43 +0000	[thread overview]
Message-ID: <E11rTXR-0008Ex-00.1999-11-26-22-08-21@mail6.svr.pol.co.uk> (raw)
In-Reply-To: "Zefram"'s message of "Mon, 22 Nov 1999 20:03:39 GMT." <E11pzgZ-00082P-00@crucigera.fysh.org>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]

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@supanet.com>


      parent reply	other threads:[~1999-11-26 22:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-20 20:18 Clint Adams
1999-11-20 20:53 ` Bart Schaefer
1999-11-21 18:14   ` Clint Adams
1999-11-22  8:17     ` Bart Schaefer
1999-11-22 14:42       ` Clint Adams
1999-11-22 18:23         ` Bart Schaefer
1999-11-22 19:36           ` Clint Adams
1999-11-22 20:03           ` Zefram
1999-11-23 18:18             ` Bart Schaefer
1999-11-26 22:08             ` Peter Stephenson [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=E11rTXR-0008Ex-00.1999-11-26-22-08-21@mail6.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).