solid i18n krazy2 patch

Thiago Macieira thiago at kde.org
Sat Jan 24 15:49:26 GMT 2009


Olivier Goffart wrote:
>QString(const char*) constructor doesn't do utf8 parsing, it suppose the
>string is latin1 (by default)  and convert it to utf-16.

The QString constructor does a fromAscii call, which is by default the 
same as fromLocal8Bit, but can be changed by setCodecForCStrings 
(QTextCodec).

See http://labs.trolltech.com/blogs/2008/04/28/string-theory/.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090124/b3ec3197/attachment.sig>


More information about the kde-core-devel mailing list