recycling internationalized garbage

Ross Ridge rridge at
Tue Mar 14 18:37:17 CET 2006

aaronwmail-usenet at 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