mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: [musl] Locale support considered harmful noise
Date: Wed, 19 Feb 2020 17:06:03 -0500	[thread overview]
Message-ID: <20200219220603.GH1663@brightrain.aerifal.cx> (raw)
In-Reply-To: <alpine.DEB.2.00.2002191946030.23857@ny4.eemta.org>

On Wed, Feb 19, 2020 at 09:28:10PM +0000, Jacob Welsh wrote:
> On Tue, 18 Feb 2020, A. Wilcox wrote:
> 
> >Why do you not believe that musl could provide any of these features
> >using clear and concise code?
> 
> I fully expect it could. The point at issue however is whether it
> should be done at all.
> 
> >I have been personally impacted by the lack of LC_COLLATE support.
> 
> I have been personally "impacted" by its presence in glibc, but
> perhaps I'm not the sort of "real world" user whose needs you would
> like to represent.

You avoid this by not setting LANG, LC_COLLATE, or LC_ALL in your
environment, or by ensuring that the one that takes precedence yields
a result of C or C.UTF-8 for the LC_COLLATE category. Plenty of users,
myself included, prefer codepoint order for directory listings and
such. This does not conflict in any way with providing support for
other collation orders that are useful for things like sorting
natural-language CSV tables, etc.

> >In fact, musl is *not* conformant to the POSIX standard *because*
> >it does not implement the requisite locale support.
> 
> We're prepared to fork POSIX or any other document that proves
> necessary. Not like it's hard.

No comment.

Rich

  reply	other threads:[~2020-02-19 22:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 19:38 Jacob Welsh
2020-02-18 21:42 ` A. Wilcox
2020-02-18 22:23   ` Hadrien Lacour
2020-02-18 23:29     ` [musl] race condition in sem_wait Sebastian Gottschall
2020-02-19  0:46       ` Sebastian Gottschall
2020-02-19  3:39         ` Rich Felker
2020-02-19  8:26           ` Sebastian Gottschall
2020-02-19 14:13             ` Rich Felker
2020-02-19  4:07         ` Bobby Bingham
2020-02-19 21:28   ` [musl] Locale support considered harmful noise Jacob Welsh
2020-02-19 22:06     ` Rich Felker [this message]
2020-02-19  3:36 ` Rich Felker

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=20200219220603.GH1663@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --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).