i18n pot file

anabell anabell at sh163a.sta.net.cn
Thu Oct 23 03:21:49 EDT 2003


>>> Then your PO file likely isn't in UTF-8. You need to find out what
encoding your computer uses. As a starting point, you would need to
tell us what operation system you use, and what "locale" you have
activated on that system

I reloaded my IDE, and everything is working as expected.  I use Charset
iso-8859-1 and Transfer Encoding 8bit.

My "locale" is set to user's working directly which I wrote like this:

  localedir = sys.path[len(sys.path)-1]

Is there a better way of getting the user's working directory at run time?
Because the sys.path appends new directory every time as new module from
different directory is loaded.  Therefore the assigned localedir may become
invalid.

> In the literal PO file, you don't use base64, you always use "plain"
bytes - independent of the language.






More information about the Python-list mailing list