Re: Python 3.3, gettext and Unicode problems

2012-12-30 Thread Marcel Rodrigues
Thank you Terry! I was trying to follow the documentation but somehow didn't payed attention to the lgettext/gettext distinction until I read your first response. Changing lgettext to gettext solved the problem. It prints correctly to my console because I have to environmental variable PYTHONIOEN

Re: Python 3.3, gettext and Unicode problems

2012-12-30 Thread Terry Reedy
On 12/30/2012 8:48 PM, Terry Reedy wrote: On 12/30/2012 7:39 PM, Marcel Rodrigues wrote: I'm using Python 3.3 (CPython) and am having trouble getting the standard gettext module to handle Unicode messages. Addition to previous response. import gettext t = gettext.translation("greeting", "lo

Re: Python 3.3, gettext and Unicode problems

2012-12-30 Thread Terry Reedy
On 12/30/2012 7:39 PM, Marcel Rodrigues wrote: I'm using Python 3.3 (CPython) and am having trouble getting the standard gettext module to handle Unicode messages. I have never even looked at the doc before, but I will take a look. My problem can be isolated as follows: I have 3 files in a f