[Qt-interest] QString::fromLocal8Bit vs locales

Thiago Macieira thiago at kde.org
Fri Aug 19 17:47:27 CEST 2011


On Friday, 19 de August de 2011 17:33:41 Imre PÉNTEK wrote:
> I wanted to convert a string from native charset to QString, I wanted a
> code  that would be locale independent, and I wrote this little test code
> (main.cpp)

You forgot QCoreApplication.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110819/116bf8a6/attachment.bin 


More information about the Qt-interest-old mailing list