I have a QTextEdit widget and read the text: text = str(texedit.text()) If the text contains an 'ö', that is o umlaut, I get the error message UnicodeError: ASCII encoding error: ordinal not in range(128) How can I solve this problem? TIA, -- Janos Blazi