what encoding is this? How can I tell? How can I translate?

Skip Montanaro skip at pobox.com
Tue Sep 25 10:27:17 EDT 2001


    Martin> Please have a look at

    Martin> http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html

Thanks, will do.

    Martin> However, if feasible at all, I'd recommend to convert the
    Martin> message into UTF-8 instead, thus preserving full information,
    Martin> while at the same time increasing the chance that a recipient
    Martin> can make sense out of the data.

Unfortunately, I still live in a latin-1 world (really, us-ascii) and I
don't have the time necessary to convert all my software and databases to
UTF-8 at the moment, so I think my input filter will just have to punt and
do something like

    tr '\325' "'"

Skip




More information about the Python-list mailing list