Fix a regression introduced in 6a1852
ClosedPublic

Authored by vandenoever on Dec 29 2018, 5:27 PM.

Details

Summary

Bytes from 'Strings' of type GroupString and KeyString should not be
escaped because they are valid UTF-8. Only instances of ValueString
should be escaped.

This fixes the failing test KConfigTest::testEncoding

Test Plan

Ran ninja test and found no errors.

Diff Detail

Repository
R237 KConfig
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vandenoever created this revision.Dec 29 2018, 5:27 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 29 2018, 5:27 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
vandenoever requested review of this revision.Dec 29 2018, 5:27 PM
apol accepted this revision.Dec 30 2018, 3:56 AM
This revision is now accepted and ready to land.Dec 30 2018, 3:56 AM
This revision was automatically updated to reflect the committed changes.