solid i18n krazy2 patch

Dominik Haumann dhdev at gmx.de
Sat Jan 24 17:01:40 GMT 2009


On Saturday 24 January 2009, Thiago Macieira wrote:
> 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/.

That should be linked from the krazy page so people understand what they are 
doing.

Dominik




More information about the kde-core-devel mailing list