encoding problems (é and è)

Peter Otten __peter__ at web.de
Thu Mar 23 22:36:02 CET 2006

John Machin wrote:

> You can replace ALL of this upshifting and accent removal in one blow by
> using the string translate() method with a suitable table.

Only if you convert to unicode first or if your data maintains 1 byte == 1
character, in particular it is not UTF-8. 


More information about the Python-list mailing list