On Thu, Mar 12, 2009 at 9:36 AM, Ville M. Vainio <[email protected]> wrote:
> > On Wed, Mar 11, 2009 at 10:20 PM, [email protected] <[email protected]> > wrote: > > > keynum,text,toString,ch = self.qtKey(event) > > File "/usr/local/src/leo-editor/leo/plugins/qtGui.py", line 4956, in > > qtKey > > ch = g.app.gui.toUnicode(ch) > > File "/usr/local/src/leo-editor/leo/plugins/qtGui.py", line 4453, in > > toUnicode > > return unicode(s) > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position > > Seems like calling unicode(chr(some_value)) is a bad idea... Thanks for this hint. I'll attempt a simplification soon. Edward --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
