Boudewijn Rempt wrote:
> 
> On Thu, 2 Dec 1999, Phil Thompson wrote:
> 
> >
> > While this change isn't strictly necessary at this stage, it will be
> > needed for Qt v2's Unicode support - so it's best to get used to it now.
> >
> 
> It's painful all the same - I guess we have to use
> self.text=repr(myTextBox.text()), too! Lots of trouble to go wrong and
> make silly mistakes. Still, Unicode support should be worth it ;-).

I think the key is to delay the conversion to Python strings to the last
possible moment. Keep things as QStrings until something really needs a
Python string - the Python file open method for instance.

Phil




Reply via email to