gettext on Windows

Fredrik Lundh fredrik at pythonware.com
Sat Oct 28 04:09:32 EDT 2006


russ.phillips.nospam at googlemail.com wrote:

> lan = gettext.GNUTranslations (open (sLang))

are you sure the data file is a text file?  what happens if you change 
the above to

   lan = gettext.GNUTranslations (open (sLang, "rb"))

?

</F>




More information about the Python-list mailing list