mailing list of musl libc
 help / color / mirror / code / Atom feed
From: u-igbb@aetey.se
To: musl@lists.openwall.com
Subject: Re: Locale bikeshed time
Date: Sat, 26 Jul 2014 20:56:13 +0200	[thread overview]
Message-ID: <20140726185613.GY16795@example.net> (raw)
In-Reply-To: <20140726174706.GF10402@port70.net>

On Sat, Jul 26, 2014 at 07:47:06PM +0200, Szabolcs Nagy wrote:
> > On Sat, Jul 26, 2014 at 04:03:27AM -0400, Rich Felker wrote:
> > > Well, 2/3 of the world's population is in India and China and they all
> > > use ".", so I think that pretty much covers the question of which is
> > > "more widely used".
> > 
> > Ah indeed. That's a sufficient evidence.

> world is about 7G
> india+china is about 2.5G
> that looks closer to 1/3 than to 2/3

Oops. I should have checked the numbers :)
Thanks for the notice.

> but using anything other than '.' as the decimal point is broken

I am unsure what/which context you mean (say application development,
user settings for the screen, user settings for editing documents to share,
or all scenarios at once?)

Or do you mean to second Rich's opinion that the applicatons' use of
locale facilities is so inconsistent that there is no use of relying on
the lc_numeric?

(I do not have any bias towards any representation of the radix point but
I am happy to learn objective/verifiable arguments for one or another.)

This is hardly important though if (as Rich wrote) "C"/"POSIX" locale is
specified to use "." and given that musl already has a policy of disallowing
other characters.

I apparently missed the discussions which led to this policy,
sorry if I am beating a dead horse:

To prevent users from shooting themselves in the foot looks
considerate. Personally I would nevertheless prefer to have a possibility
to influence the radix dot character, at least as a locale variant
and take the consequences.

If anybody else feels for using "," than so be it in the corresponding
locale, as the default or as a variant - how much would it cost?

The generally "most international" locale I am aware of (eo_ZZ) happens
to need ",". If your population numbers are correct, this seems to be
a proper choice too - modulo broken locale use/deployment.

Actually I very much dislike software which expects that it knows my
situation better than myself and prevents me from doing what I need.

Regards,
Rune



  parent reply	other threads:[~2014-07-26 18:56 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 18:49 Rich Felker
2014-07-22 20:10 ` u-igbb
2014-07-22 20:35   ` Rich Felker
2014-07-23  9:50     ` u-igbb
2014-07-23 16:39       ` Rich Felker
2014-07-23 19:25         ` u-igbb
2014-07-23 21:01           ` Rich Felker
2014-07-24 15:35             ` u-igbb
2014-07-24 16:01               ` Rich Felker
2014-07-24 19:24                 ` u-igbb
2014-07-24 20:15                 ` u-igbb
2014-07-24 22:02                   ` Rich Felker
2014-07-25  9:06                     ` u-igbb
2014-07-25 20:15                       ` u-igbb
2014-07-25 22:32                         ` Rich Felker
2014-07-26  7:25                           ` u-igbb
2014-07-26  8:03                             ` Rich Felker
2014-07-26  9:06                               ` Jens Gustedt
2014-07-26  9:25                                 ` Rich Felker
2014-07-26  9:38                               ` u-igbb
2014-07-26 17:47                                 ` Szabolcs Nagy
2014-07-26 18:23                                   ` Rich Felker
2014-07-26 18:59                                     ` u-igbb
2014-07-26 19:14                                       ` Rich Felker
2014-07-26 18:56                                   ` u-igbb [this message]
2014-07-26 19:30                                     ` Rich Felker
2014-07-27  7:28                                       ` u-igbb
2014-07-26 20:43                         ` Rich Felker
2014-07-27  7:51                           ` u-igbb
2014-07-27  8:00                             ` Rich Felker
2014-07-27  8:24                               ` u-igbb
2014-07-23 23:22         ` writeonce
2014-07-23 23:38           ` Rich Felker
2014-07-24  1:07             ` writeonce
2014-07-24  1:57               ` Rich Felker
2014-07-24  2:16                 ` writeonce
2014-07-24  2:24                   ` Rich Felker
2014-07-24  2:59                     ` writeonce
2014-07-22 20:17 ` Laurent Bercot
2014-07-22 20:36   ` Rich Felker
2014-07-23 22:03     ` Laurent Bercot
2014-07-23 22:12       ` Rich Felker
2014-07-24 15:38         ` u-igbb

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=20140726185613.GY16795@example.net \
    --to=u-igbb@aetey.se \
    --cc=musl@lists.openwall.com \
    /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/musl/

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).