Re: python's gettext.gettext broken, use gettext.lgettext

2005-08-07 Thread Joe Wreschnig
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

python's gettext.gettext broken, use gettext.lgettext

2005-08-07 Thread Junichi Uekawa
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.