recycling internationalized garbage

Ross Ridge rridge at csclub.uwaterloo.ca
Tue Mar 14 12:37:17 EST 2006


aaronwmail-usenet at yahoo.com wrote:
>     try:
>         (uni, dummy) = utf8dec(s)
>     except:
>         (uni, dummy) = iso88591dec(s, 'ignore')

Is there really any point in even trying to decode with UTF-8?  You
might as well just assume ISO 8859-1.

                       Ross Ridge




More information about the Python-list mailing list