Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

xa python

fixedword = word.encode('ascii','ignore')
or
import unidecode
word = unidecode.unidecode(word)
or
word.replace(u'xa0', u' ') # replaced with space
word.replace(u'xa0', u'0') # closest to what you were literally asking for
word.replace(u'xa0', u'')  # removed completely
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #xa #python
ADD COMMENT
Topic
Name
5+6 =