[PyQt] PyKDE dcopext string marshalling; no unicode chars in a QString?

Danny Pansters danny at ricin.com
Mon Apr 30 20:52:45 BST 2007


On Monday 30 April 2007 16:46:59 you wrote:
> > It seems I can't retrieve a QString object containing non-ASCII
> > characters.
>
> You can if you use unicode() instead of str().

Yes that's obvious, but it may break other people's apps when using such a 
patched dcopext module. I create and maintain the pyqt/pykde packages for 
FBSD and I think people would not be amused if I decided to break the 
expected behaviour (even if it's wrong) just to make my stuff work "the way 
it ought to".

For private use patching dcopext would do fine I guess, I only want to use it 
for prototyping at this point. I was thinking that maybe using QString 
datatype for this purpose was be a bad choice to begin with.

Is this a known bug or not deemed a problem?

Thanks,

Dan


More information about the PyQt mailing list