From: u-igbb@aetey.se
To: musl@lists.openwall.com
Subject: Re: locale fallback option
Date: Sun, 27 Jul 2014 10:45:10 +0200 [thread overview]
Message-ID: <20140727084510.GE16795@example.net> (raw)
In-Reply-To: <20140727081852.GW4038@brightrain.aerifal.cx>
On Sun, Jul 27, 2014 at 04:18:52AM -0400, Rich Felker wrote:
> > LANG=ts_AB LC_MESSAGES=xyz_AB (or LC_MESSAGES=xyz_ZZ)
> >
> > if fallback to LANG happens per-item in contrast to per-category.
> Per-item is rather
> complex and requires having locale objects that are "hybrids" and
> having a way to name and identify them (since setlocale has to be able
> to return a name for the current setting back to the caller).
This looks a way too complicated to be viable.
> > Frankly, I think this is about a redesign of the locale system
> Yes. The system is largely broken -- it does too little to actually be
> useful for serious adaptation to linguistic and cultural conventions
> and to support multilingual text data, and it does far too much in the
> sense of breaking use of the standard library functions for
> information interchange purposes.
+1
> For a long time I've wanted to
> design and write a very light but powerful library for handling these
> things correctly (completely independent of the libc locale system),
> but it will probably be a very long time before I get around to doing
> a project like that, if ever...
You have my sympathy (and empathy).
Rune
prev parent reply other threads:[~2014-07-27 8:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 21:46 Wermut
2014-07-26 21:51 ` writeonce
2014-07-27 2:08 ` Rich Felker
2014-07-27 5:26 ` Wermut
2014-07-27 8:12 ` Rich Felker
2014-07-27 8:08 ` u-igbb
2014-07-27 8:18 ` Rich Felker
2014-07-27 8:45 ` u-igbb [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=20140727084510.GE16795@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).