
23 Apr
2009
23 Apr
'09
3:46 p.m.
Mark Sapiro wrote:
You can edit the definition of setencoding() in /usr/lib/pythonV.V/site.py to replace "ascii" with "iso-8859-1", ...
Actually, the above is not the proper way to do this. The proper way is to create /usr/lib/pythonV.V/site-packages/sitecustomize.py containing the two lines
import sys sys.setdefaultencoding('iso-8859-1')
--
Mark Sapiro mark@msapiro.net The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan