I am translating text with Google Translate API using Python.
I have a problem the characters returned, for example I have " instead of ".
How can I resolve that?
I am translating text with Google Translate API using Python.
I have a problem the characters returned, for example I have " instead of ".
How can I resolve that?
 
    
    You can use html.unescape method
For instance:
from html import unescape
if __name__ == '__main__':
    converted = unescape('"')
    print(converted)
Output:
"
