sys.setdefaultencoding(name)
Askari
askari at addressNonValide.com
Mon Sep 20 08:07:53 EDT 2004
More information about the Python-list mailing list
Mon Sep 20 08:07:53 EDT 2004
- Previous message (by thread): trying to right a dps parser
- Next message (by thread): sys.setdefaultencoding(name)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Harald Massa <cpl.19.ghum at spamgourmet.com> wrote in news:Xns9569F39D2C884cpl19ghumspamgourmet at 195.20.224.116: > Askari, > >> """ >> import site >> site.encoding = "latin_1" >> """ >> >> Why? >> And, I do the good think? (site.encoding = "latin_1") > > No, you do a the bad thing. > > You have to EDIT the site.py within python\lib\site.py > > open it within an editor, find "ASCII" and replace by latin1 > > site.encodiging="Latin_1" just adds an attribute NOBODY cares for to a > module in memory. > > Harald > It work! :-) Thanks!
- Previous message (by thread): trying to right a dps parser
- Next message (by thread): sys.setdefaultencoding(name)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list