Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 27 Jul 2014 10:45:10 +0200
From: u-igbb@...ey.se
To: musl@...ts.openwall.com
Subject: Re: locale fallback option

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.