std.locale
Leandro Lucarella
llucax at gmail.com
Mon Mar 2 05:32:40 PST 2009
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.
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
The average person laughs 13 times a day
More information about the Digitalmars-d
mailing list