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
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.
2 matches
Mail list logo