aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/kconfigcompiler_test.cpp
diff options
context:
space:
mode:
authorJos van den Oever <jos@vandenoever.info>2019-02-17 23:32:35 +0100
committerJos van den Oever <jos@vandenoever.info>2019-02-20 17:19:14 +0100
commit2cdcd4f30666fd1095ab7cf31361e404db871075 (patch)
tree4875c4c3a78583342821814b53444443278448e4 /autotests/kconfig_compiler/kconfigcompiler_test.cpp
parentfbad48f87c1e62b1d56215eba76a7bb7e2d22f1e (diff)
downloadkconfig-2cdcd4f30666fd1095ab7cf31361e404db871075.tar.gz
kconfig-2cdcd4f30666fd1095ab7cf31361e404db871075.tar.bz2
Write valid UTF8 characters without escaping.
Summary: commit 6a18528 introduced escaping of bytes >= 127 to ensure that KConfig files are valid UTF8. The simplistic approach with a cutoff results in many escaped bytes where it is not required. Especially non-western configuration files would have many escapes. This commit fixes that by only escaping bytes that are not valid UTF8. BUG: 403557 FIXED-IN: 5.56 Test Plan: ninja && ninja test Reviewers: dfaure, arichardson, apol, #frameworks, thiago Subscribers: rapiteanu, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D19107
Diffstat (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp')
0 files changed, 0 insertions, 0 deletions