Ascii to Unicode.
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Fri Jul 30 08:51:30 EDT 2010
In message <mailman.1309.1280426398.1673.python-list at python.org>, Joe
Goldthwaite wrote:
> Ascii.csv isn't really a latin-1 encoded file. It's an ascii file with a
> few characters above the 128 range that are causing Postgresql Unicode
> errors. Those characters work fine in the Windows world but they're not
> the correct byte representation for Unicode.
In other words, the encoding you want to decode from in this case is
windows-1252.
More information about the Python-list
mailing list