Re: locale support?
- Posted by Jeremy Cowgar <jeremy at cow?ar.c?m> May 05, 2008
- 747 views
Bernie Ryan wrote: > > global sequence LANG_US > > if platform() = 2 then > LANG_US = "English_United States" > elsif platform() = 3 then > LANG_US = "en_US" > end if > </eucode> {{{ > I'd hate to have each programmer have to manage the cross-walk though for each locale. On my Linux box there are 373 locales. So, inside of each platform() check, you would then have to choose between 373 different locales. Now, some of those have multiple encodings to them, such as ASCII and UTF-8. But still, it's in the range of 200 or so. I am unsure how many locales Windows has and really not even sure how to figure it out. -- Jeremy Cowgar http://jeremy.cowgar.com