[Qt5-feedback] QUrl (was: QMimeType)
Thiago Macieira
thiago at kde.org
Fri Jun 10 21:45:19 CEST 2011
Em Friday, 10 de June de 2011, às 21:00:15, Matthias Fuchs escreveu:
> Would the planned changes also fix the problem that can appear if file
> names contain non utf8 symbols and as a result can't be renamed in the ui
> [1] as the internally used file name simply replaces the "incorrect" signs
> with the utf8 sign "�" (question mark in a rhombus).
No.
If filenames were represented everywhere with QUrl, it would. The problem is
that QFile, QDir and other filesystem functions and classes use QString. Those
cannot represent characters outside the locale.
So, Qt 5 will continue to treat files outside the locale encoding as filesystem
corruption and will misbehave.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
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.nokia.com/pipermail/qt5-feedback/attachments/20110610/9b7e8d0a/attachment.bin
More information about the Qt5-feedback
mailing list