[Python-Dev] Re: [I18n-sig] Changes to gettext.py for Python
24 Apr 2003 10:58:36 -0400
On Tue, 2003-04-22 at 18:15, Martin v. L÷wis wrote:
> For safety, I'd recommend that you use byte string msgids if
> conversion to Unicode fails. Otherwise, I'm fine with automatically
> coercing everything to Unicode.
For now, I'll add a comment to the code at the point of conversion since
I'm not sure whether it's better to throw an exception or attempt to
carry on with 8-bit strings. I'll update the docs too.
> I do know about catalogs that use Latin-1 in msgids (to represent
> accented characters in the names of authors). That should not cause
Cool, thanks for the feedback Martin!