[bt-devel] kio-sword pre-release

Joachim Ansorg junkmail at joachim.ansorgs.de
Wed Jun 2 12:05:21 MST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > I think QString::fromUtf8 has to be used on module content.
>
> Hmm, currently it uses QString::fromUtf8() if module->isUicode(),
> otherwise, QString::fromLocal8Bit() - but I was just guessing. the Sword
> docs aren't great on a number of things like this.

Yes, the docs need some improvements :)

You created the SWMgr with the FMT_UTF8 argument, that means Sword gives you 
the module data in Unicode. So fromUtf8 is right :)

Hope that helped,
Joachim
- -- 
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAviTxEyRIb2AZBB0RAoYoAJ9aqOXXg3+FuEMcVOGlmsyA6v+nawCfVS7E
eWI2bGXLIloh8QCgQasmVms=
=G0pU
-----END PGP SIGNATURE-----


More information about the bt-devel mailing list