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/