View Single Post
GreatGonzo's Avatar
Posts: 275 | Thanked: 389 times | Joined on Feb 2010 @ Sydney
#7
sorry does anybody know how to do unicode processing from dbus --print-reply?

Answer to self:

Code:
    QTextCodec* codec = QTextCodec::codecForName("utf-8");
    QString out = codec->toUnicode(m_process->readAllStandardOutput());

This will need to be fixed in quick-widgets. I'll push out a fix soon.
__________________
Quick Widgets - http://wiki.maemo.org/Quick_Widgets

Last edited by GreatGonzo; 2011-03-11 at 04:44.
 

The Following 3 Users Say Thank You to GreatGonzo For This Useful Post: