Hi,
While I was hacking at debconf, I noticed that
python's gettext function returns strings encoded in the
original encoding; which will appear as garbage on
the screen.
With python2.4, lgettext is added, which seems to do
the right thing and return the string encoded in the
current CODESET.
On Mon, 2005-08-08 at 07:45 +0900, Junichi Uekawa wrote:
> Hi,
>
> While I was hacking at debconf, I noticed that
> python's gettext function returns strings encoded in the
> original encoding; which will appear as garbage on
> the screen.
The best way to do gettext in Python is to do:
gettex
2 matches
Mail list logo