HTML Encoded Translation

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Tue Oct 17 20:28:15 CEST 2006


Dave enlightened us with:
> How can I translate this:
>
> gi
>
> to this:
>
> "gi"
>
> I've tried urllib.unencode and it doesn't work.

As you put so nicely in the subject: it is HTML encoding, not URL
encoding. Those are two very different things! Try a HTML decoder,
you'll have more luck with that...

Sybren
-- 
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/



More information about the Python-list mailing list