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

Syam Krishnan syamcr at gmail.com
Sat Aug 31 13:01:19 CEST 2013


On 08/31/2013 09:12 AM, Thiago Macieira wrote:
> On sexta-feira, 30 de agosto de 2013 19:47:48, Syam wrote:
>
>> Am I right here? Of course, the assumption is that the original QString is
>> simple English text.
> Even “simple English” may contain characters not encodable in Latin 1…
>
> As I've just proven :-)

Oh.. by 'simple English', I meant basic ASCII.. Anyway, if the original 
string contained anything other than ASCII printable characters, 
toAscii(), toLatin1() etc can't really do anything, right?

regards,

Syam




More information about the Interest mailing list