HTML Encoded Translation

Sybren Stuvel sybrenUSE at
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 Stüvel
Stüvel IT -

More information about the Python-list mailing list