A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-April/034975.html below:

[I18n-sig] Changes to gettext.py for Python 2.3

[Python-Dev] Re: [I18n-sig] Changes to gettext.py for Python 2.3 [Python-Dev] Re: [I18n-sig] Changes to gettext.py for Python 2.3Barry Warsaw barry@python.org
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
> failures.

Cool, thanks for the feedback Martin!
-Barry





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4