Removing right-to-left mark and other unicode characters from input in Python

Posted by Earl Bellinger on Stack Overflow See other posts from Stack Overflow or by Earl Bellinger
Published on 2010-06-01T00:34:45Z Indexed on 2010/06/01 0:43 UTC
Read the original article Hit count: 331

Filed under:
|
|

I am writing a forum in Python. I want to strip input containing the right-to-left mark and things like that. Suggestions? Possibly a regular expression?

© Stack Overflow or respective owner

Related posts about python

Related posts about unicode