Problem reading UTF-8 .ini files with BOM
I've been hit by bug https://bugreports.qt-project.org/browse/QTBUG-23381 several times now. The bug has been reported for Qt 4.7.4 and is still present in 4.8.4. I wonder why no one considers this bug important enough. It's actually a show stopper if you allow people to edit a UTF-8 encoded .ini file which will be read by your application, because one has to make sure no UTF-8 BOM header is present. As soon as a user edits and saves such an .ini file on Windows (e.g. using Windows Notepad) chances are high the .ini file cannot be read correctly by the Qt application anymore.
Is this really such a rare case?
This bug still did not get any attention. So I've added a "ZIP file":https://bugreports.qt-project.org/secure/attachment/32705/QTBUG-23381.zip containing code together with .ini file input samples revealing the bug (see "my comment":https://bugreports.qt-project.org/browse/QTBUG-23381?focusedCommentId=203794&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-203794 on this bug).
Please please vote for the bug and rate this posting in order to be able to draw attention to it!!!
You need to assign it to somebody. Ask about on IRC who to assign it to, or go for module maintainer.
[quote author="sierdzio" date="1369648041"]You need to assign it to somebody. Ask about on IRC who to assign it to, or go for module maintainer.[/quote]
Thanks for your fast response!
I did what you suggested and it worked, mentioned bug now is assigned to someone :)