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

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to