summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoawindow.mm
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-04-14 09:36:04 +0200
committerKai Koehne <kai.koehne@qt.io>2020-04-14 15:51:46 +0200
commit9ba09e26d7fc667355d48a7d26361be6fb20612d (patch)
treee607208086e5fba45e302a3d00514293b976c48e /src/plugins/platforms/cocoa/qcocoawindow.mm
parente7eff98401723ff7e4e8d962405f9af1b53b9759 (diff)
QSettings: Read past UTF-8 BOM even without textcodec support
Try to read past an UTF-8 BOM even if no textcodec support is available, but do set the status to FormatError then. This is in line with the general 'best effort' approach in QSettings. It also allows qmake (that is built without textcodec support) to gracefully load qt.conf files with a UTF-8 BOM, though non-Latin1 characters might still be misrepresented. Fixes: QTBUG-83456 Change-Id: I31b45dc5a8adf7950910897a2b33ae16990d3818 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoawindow.mm')
0 files changed, 0 insertions, 0 deletions