Possible duplicate:
Decode HTML objects in Python string?
I have a string full of HTML escape characters such as "
, ”
and —
.
Are there any reliable ways in any Python libraries to replace all these escape characters with the corresponding actual characters?
For example, I want to replace all "
on "s.
source share