Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.6.0
-
None
-
Fedora 23
Description
When I try to parse an UTF-8 ini file, Unicode key's are not recognized.
Sample:
QSettings* config;
config=new QSettings("foo.ini",QSettings::IniFormat,this);
config->setIniCodec("UTF-8");
qCInfo(foo)<<config->allKeys();
qCInfo(foo)<<config->contains(QString("foo/Schlüssel"));
Output:
foo.foo: ("foo/Schlüssel")
foo.foo: false
Ini file:
[foo]
Schlüssel=ccccc
output of file foo.ini
foo.ini: UTF-8 Unicode text
Attachments
Issue Links
- relates to
-
QTBUG-133804 Qt 5 and Qt 6 both use QtProject.conf, but in an incompatible way
-
- Open
-