4 Answers
4

Check out this question. What you're looking for is "html entity decoding". Typically, you'll find a function named something like "htmldecode" that will do what you want. Both Django and Cheetah provide such functions as does BeautifulSoup.

The other answer will work just great if you don't want to use a library and all the entities are numeric.