unknown locale de_DE at euro
Martin v. Loewis
martin at v.loewis.de
Sun May 12 14:36:08 EDT 2002
"Sean 'Shaleh' Perry" <shalehperry at attbi.com> writes:
> that is fair. However locale.normalize() is where the problem is actually
> occuring. It handles the foo.enc style but not foo at enc style.
>
> Or should normalize() be killed of as cruft too?
I'm not sure what the rationale for having locale.normalize is - it
does not appear to serve a particular purpose.
Again, I would like to hear if people use it, and why.
In any case, it is used internally in the locale module, and needs to
be fixed.
Notice that, in the @enc style, enc usually does *not* denote an
encoding. For de_DE at euro, it primarily indicates the currency; on
Linux and Solaris, that, in turn, implies Latin-9 (but other systems
may well use UTF-8 for this locale).
The other use of this feature I know is no_NO at nynorsk, where it merely
indicates a language dialect (Nynorsk vs. Bokmal - now indicated as
nn_NO and nb_NO).
Regards,
Martin
More information about the Python-list
mailing list