On 4 Jan 2014, at 10:08 am, Chris Little <chris...@crosswire.org> wrote:

> The relevant standard is BCP 47: https://tools.ietf.org/html/bcp47
> 
> The standard separator is hyphen (-), but use of underscore is common. POSIX 
> locales, for example, use underscore. I guess hyphen should be preferred, but 
> we should accept underscores and map them to hyphens. In any case, they are 
> treated identically and underscore is never permitted by BCP 47, so folding 
> them together as hyphens is safe.

Ahh, that explains why I need to map between "_", which SWORD uses, to "-", 
which is what Apple uses (in iOS). Apple does the right thing and SWORD uses 
the legacy method which is now "never permitted". Are we going to update that 
at some point?
Also, are we going to switch to utf8 being the default encoding at some point 
and remove the need for "-utf8" being part of the locale name?
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to