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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-i18n mailing list
Posts: [email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-i18n/archive%40mail-archive.com

Reply via email to