removing non ascii characters from a string using python / django

Posted by Gaurav on Stack Overflow See other posts from Stack Overflow or by Gaurav
Published on 2010-04-30T07:56:35Z Indexed on 2010/04/30 8:27 UTC
Read the original article Hit count: 197

Filed under:
|
|
|
|

I have a string of HTML stored in a database. Unfortunately it contains characters such as ® I want to replace these characters by their HTML equivalent, either in the DB itself or using a Find Replace in my Python / Django code.

Any suggestions on how I can do this?

© Stack Overflow or respective owner

Related posts about python

Related posts about django