Python googletrans encoding weird chars
问题 I have an ui which takes german language among other things and translate these in english sentences. # -*- coding: utf-8 -*- from googletrans import Translator def tr(s) translator = Translator() return translator.translate(wordDE,src='de',dest='en').text Sometimes I get weird characters from the translator. For example: DE: Pascal und PHP sind Programmiersprachen für Softwareentwickler und Ingenieure. googletrans EN(utf8): Pascal and PHP are programming languages for software developers