Why does replace not work with this string?
['Python \xc3\xa9 uma linguagem de programa\xc3\xa7\xc3\xa3o de alto n\xc3\xadvel']
The above string comes from a nltk, follow the code:
# - * - coding: utf-8 - * -
import nltk
text = 'Python is a high-level programming language'
val = str(nltk.tokenize.sent_tokenize (text))
val = val.replace('\xc3\xa9', 'é')
print val