On 4/22/2013 9:23 AM, Justin Mclean wrote:
Would that catch characters with accents and the like this? eg "Février", "Décembre",
"Ağustos" or "Eylül"?
no, you'd need to extend the range a bit, 0x0041-0x00FF.
though it depends on the languages/locales you wanted to support, which is
somewhat limited by the locales that default to gregorian calendar. for
instance, going to support greek, cyrillic, etc.? then you'd need a wider range
of codepoints.
a good resource for date part names, if you don't mind a little java, is ICU4J's
com.ibm.icu.text.DateFormatSymbols class. give it a locale & it will dump out
full date part names, short ones, etc. based on CLDR, which is about as official
as you're going to get. there's also this (though no source is provided):
http://as3localedata.riaforge.org/
btw i thought someone had ported ICU4J's calendars to AS3. wondering what
happened to that?