unicode to ascii converting

Peter Wilkinson pwilkinson at videotron.ca
Mon Aug 9 10:31:33 EDT 2004


Thanks for the help,

I have got it working the problem was that I was not reading into the 
string as unicode.

Peter

At 04:22 AM 8/7/2004, Michel Claveau - abstraction méta-galactique non wrote:
>Sorry !
>
>The COMPLETE script is :
>
>         # -*- coding: cp1252 -*-
>         aa = u"ä"
>         aa.encode("ascii","ignore")
>
>
>
>
>
>
>--
>http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list