[Qt-interest] View UTF-8 text by QGraphicsTextItem

Thiago Macieira thiago at kde.org
Mon Mar 8 08:37:09 CET 2010


Em Domingo 7. Março 2010, às 18.45.08, M. Bashir Al-Noimi escreveu:
> Hi All,
> 
> Oh my god, Qt Creator takes system encoding by default, so encoding of
> the source file isn't UTF-8 (I was using kubuntu but now I'm using damn
> Windows).
> 
> Thanks Thiago for remembering me, it's working now.

Which is why the C++0x "char16_t" is just short of useful. When it use, it 
will allow Qt to know your string is UTF-16.

But it won't allow you to write in Unicode and send the file from one machine 
to the other.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100308/64be3739/attachment.bin 


More information about the Qt-interest-old mailing list