[PyQt] Troubles in return html text from QtextEdit
inuyashalee at gmail.com
Fri Oct 10 12:13:20 BST 2008
I have some problem in store html text in a variable. This html text is
displayed in the QtextEdit.
I try to use variable = str( QtextEdit.toHtml() ) to retrieve these html
However,Python Shell shows:
Traceback (most recent call last):
UnicodeEncodeError: 'ascii' codec can't encode characters in position
533-538: ordinal not in range(128)
Is there any suggestion?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt