a383d79772
Always encodee INI files as utf-8 in Qt6. This is mostly backwards compatible, as old ini files would encode all non ascii characters. [ChangeLog][Important behavioral changes] QSettings will now always encode INI files as utf-8 (and the iniCodec/setIniCode methods are removed). This is a change from Qt 5 and earlier, where QSettings would by default escape all non ascii characters. The behavior is equivalent to what you got in Qt5 by setting a utf-8 iniCodec on the settings object. Settings files written in Qt 5 will still be readable in Qt 6 (unless an iniCodec different from utf-8 was used), but to read Qt6 based ini files in Qt 5 applications, setting the iniCodec to utf-8 is required. Change-Id: Ic7dffcca17779bd5e3dae50d42ce633170289f6c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> |
||
---|---|---|
.. | ||
.gitattributes | ||
.gitignore | ||
bom.ini | ||
CMakeLists.txt | ||
qsettings.pro | ||
qsettings.qrc | ||
resourcefile2.ini | ||
resourcefile3.ini | ||
resourcefile4.ini | ||
resourcefile5.ini | ||
resourcefile6.plist | ||
resourcefile.ini | ||
tst_qsettings.cpp | ||
withcomments.ini |