Re: locale support?
- Posted by Jeremy Cowgar <jeremy at ?owga?.com> May 05, 2008
- 803 views
Matt Lewis wrote: > > Jeremy Cowgar wrote: > > > > Ok, locale support now works on Windows and Linux. Please see my problem at > > the end of this message. > > I notice some oddities about locale.e that were probably left in by > mistake. For instance, your platform error message references IUp. Ops! That's what you get for copy/paste to saving time I've corrected it in my copy. It'll be in my next commit. > Also, the setlocale and strftime imports aren't within the LINUX/BSD > platform guards. They are the same function on both Windows and Unix systems. > > More on topic, I thought Windows used LCIDs, which are numbers, rather than > strings, to denote specific locales. > The setlocale function works the same in Windows as in Linux, it just takes different Locale names. I am no locale expert, but that's what I understand from the docs. -- Jeremy Cowgar http://jeremy.cowgar.com