Details
-
Sub-task
-
Resolution: Done
-
P1: Critical
-
None
-
2c9228973fc212db044add557839b15a8cb483c3
Description
Please consider deprecating QString::fromAscii, QString::toAscii in Qt5, and replace them by properly named QString::fromCString, QString::toCString methods.
As the documentation already states, fromAscii, toAscii isn't actually expecting or generating ASCII character strings. Instead, it's using whatever encoding is specified by QTextCodec::setCodecForCStrings() (which happens to have Latin-1 as default). If you set an ASCII incompatible codec it can happen that fromAscii, toAscii actually rejects QByteArray's in ASCII.
Attachments
Issue Links
- is required for
-
QTBUG-25005 Critical issues for Qt5 Beta 1
- Closed