[wxPython-users] Charset problem in a WxApp
Werner F. Bruhin
werner.bruhin at free.fr
Thu Jun 7 10:32:43 PDT 2007
Javier,
Javier Castrillo wrote:
> On 07/06/07, Werner F. Bruhin <werner.bruhin at free.fr> wrote:
>
>> Is the problem only happening in an wx.stc control, does it work e.g. in
>> a normal wx.textctrl?
>
>
> Sorry, I don't understand. The problem is in a normal wx.TextCtrl. I
> don't know what a wx.stc is.
I got to that conclusion looking at your traceback, have a look at the end
return _stc.StyledTextCtrl_AddText(*args, **kwargs)
File "encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-4:
invalid data
Werner
More information about the wxpython-users
mailing list