After upgrading to wxPython 3.5.3.1, gtk2-rpm for RH9, ascii (non-unicode) when trying to copy selected text from a HTML-Window to the Clipboard under SuSE 9.0, KDE 3.1 I get:
Gdk-WARNING **: Error converting from UTF-8 to STRING: Invalid byte sequence in conversion input.
And, of course, nothing is copied. As there is no UTF-8 nowhere in my HTML-Code shown by HtmlWindow this error seems somewhat strange. Does anyone have an idea what it could mean?
Christoph
Christoph Herzog wrote:
After upgrading to wxPython 3.5.3.1, gtk2-rpm for RH9, ascii (non-unicode) when trying to copy selected text from a HTML-Window to the Clipboard under SuSE 9.0, KDE 3.1 I get:
Gdk-WARNING **: Error converting from UTF-8 to STRING: Invalid byte sequence in conversion input.
And, of course, nothing is copied. As there is no UTF-8 nowhere in my HTML-Code shown by HtmlWindow this error seems somewhat strange. Does anyone have an idea what it could mean?
In GTK2 everything all character strings are treated as utf-8 encoded so if there is something that is not encoded properly then a warning like this is raised. Does it happen no matter what string you try to copy or does it work for those that don't have any 8-bit characters?
Please enter a bug report about this with a category of 'wxGTK specific' and give as much details as you can.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Robin Dunn wrote:
Christoph Herzog wrote:
After upgrading to wxPython 3.5.3.1, gtk2-rpm for RH9, ascii (non-unicode) when trying to copy selected text from a HTML-Window to the Clipboard under SuSE 9.0, KDE 3.1 I get:
Gdk-WARNING **: Error converting from UTF-8 to STRING: Invalid byte sequence in conversion input.In GTK2 everything all character strings are treated as utf-8 encoded so if there is something that is not encoded properly then a warning like this is raised. Does it happen no matter what string you try to copy or does it work for those that don't have any 8-bit characters?
Please enter a bug report about this with a category of 'wxGTK specific' and give as much details as you can.
I found out that it works with text that is pure (7 bit-) ascii (i.e. <=128), but not with text containing chars between 128 and 255, i.e. 8 bit chars.
Christoph