[Kde-imaging] Get system charset

Valerio Fuoglio valerio.fuoglio at kdemail.net
Wed Nov 1 23:14:20 CET 2006


Hi, 
I have some problem printing QString strings with correct charset.

First of all, I get comments from an image (with Exiv2IFace):

commentsString = QString::fromUtf8( exiv2Iface.getComments() );

And, when I have to print out that qstring, I need to know system 
charset to make the choice between local8Bit or utf8 constant.

Please, somebody knows how can I get system charset?

Thanks
Regards
	Valerio 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20061101/f6b01b1e/attachment.pgp 


More information about the Kde-imaging mailing list