On Fri, Jun 19, 2009 at 2:10 AM, Ville M. Vainio <[email protected]> wrote:
> > On Thu, Jun 18, 2009 at 10:35 PM, Edward K. Ream<[email protected]> > wrote: > > > If QString is, in fact, a (wrapper around) a unicode string, it should be > > possible to convert to a proper Python unicode string without specifying > an > > encoding. How is that done? > > QString is a C++ class (not technically "wrapper") that is used to > represent unicode strings in Qt. > > You can get python unicode object out of QString the way we do now, > i.e. just use unicode(myqstring). I can't help feeling there is something fishy here. Unicode takes an optional encoding argument, and that argument makes no sense if QString represents a unicode object. 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 -~----------~----~----~----~------~----~------~--~---
