[Tutor] unicode, utf-8 problem again
Mark Tolonen
metolone+gmane at gmail.com
Fri Jun 5 06:45:48 CEST 2009
"Dinesh B Vadhia" <dineshbvadhia at hotmail.com> wrote in message
news:COL103-DS25BB23A18E216061C32EB1A34B0 at phx.gbl...
> Hi! I'm processing a large number of xml files that are all declared as
> utf-8 encoded in the header ie.
> <?xml version="1.0" encoding="UTF-8"?>
> My Python environment has been set for 'utf-8' through site.py.
It's a bad idea to change the encoding through site.py. Your script won't
work on any other system.
-Mark
More information about the Tutor
mailing list