Unicode error handler

Peter Otten __peter__ at web.de
Fri Jan 26 15:17:14 EST 2007


Rares Vernica wrote:

> Is there an encode/decode error handler that can replace all the
> not-ascii letters from iso-8859-1 with their closest ascii letter?

A mapping, not an error handler, but it might do the job:

http://effbot.org/zone/unicode-convert.htm

Peter



More information about the Python-list mailing list