Simple character translation problem

David Eppstein eppstein at ics.uci.edu
Wed Sep 19 12:08:13 EDT 2001


I have: user input text, in Mac character set encoding
I want: ASCII with HTML-entities coding the accented characters.

E.g. "café" should become "café".
Is there code already in Python to do this easily?
-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/



More information about the Python-list mailing list