std.locale

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Mar 2 06:28:12 PST 2009


Leandro Lucarella wrote:
> Andrei Alexandrescu, el  1 de marzo a las 19:40 me escribiste:
>> Georg Wrede wrote:
>>> Andrei Alexandrescu wrote:
>>>> Sooner or later that will need to be defined. I know next to nothing about locales. (I know I dislike the design C++ uses.)
>>> D uses Utf-8, and that is *good enough*!
>>> This lets my programs "understand" Finnish, and doesn't give me undue headaches.
>>> Seriously tending to locale issues would be an *endless swamp*. Just for this, I looked up something suitable to read:
>>> http://www.manpagez.com/man/1/perllocale/
>>> It may even be that you would find the time, but think about Walter and us, please. There *really are* other things to do.
>> I don't find that scary at all. It's quite what I expected. We should phase it in, after we do a good design. Also I don't plan to sit down and write locale 
>> definition files, I want to parse the XML in that locale repository I referred to.
> 
> I'm not following this thread carefully and I don't know if this is what
> you are implying, but: Please don't you even think in duplicating the
> locale stuff, at least on unix there is a very nice database that needs to
> be updated sometimes very often (due to stupid presidents like the one
> I have now that changes the summer saving time all the time).
> 
> PHP for example maintains a copy of this locale data and is a real PITA.
> 

You're right, we won't engage in the business of maintaining locale 
databases. We provide mechanism, not policy.

Andrei



More information about the Digitalmars-d mailing list