PKG-INFO encoding?

Daniel Holth dholth at gmail.com
Wed Jun 11 14:23:43 EDT 2008


What should the encoding be for PKG-INFO? PEP 241, 301, 314, and 345 do not
specify.

I notice PKG-INFO must comply with an RFC that predates Unicode, and I
notice I get a traceback if I try to put a non-ascii character into my
Python 2.4.3 setup.py description. (I eventually decided to just
.encode('utf-8') in setup.py)

Thanks,

Daniel Holth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080611/f6f595c5/attachment.html>


More information about the Python-list mailing list