[Interest] Converting std::string.c_str() code to use QString methods

Thiago Macieira thiago.macieira at intel.com
Sat Aug 31 02:58:24 CEST 2013


On sexta-feira, 30 de agosto de 2013 19:17:58, Scott Aron Bloom wrote:
> I use toUtf8()... Though it wouldn't surprise me if Thiago scolds me for it

If you're on Unix, that's fine. It's fine because if your Unix system uses a 
locale different from UTF-8, you *really* should be scolded :-)

If you're on Windows, you shouldn't use fopen in the first place.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130830/1666adc8/attachment.sig>


More information about the Interest mailing list