diff options
author | Jos van den Oever <jos@vandenoever.info> | 2019-02-17 23:32:35 +0100 |
---|---|---|
committer | Jos van den Oever <jos@vandenoever.info> | 2019-02-20 17:19:14 +0100 |
commit | 2cdcd4f30666fd1095ab7cf31361e404db871075 (patch) | |
tree | 4875c4c3a78583342821814b53444443278448e4 /autotests/kconfig_compiler/test_signal_main.cpp | |
parent | fbad48f87c1e62b1d56215eba76a7bb7e2d22f1e (diff) | |
download | kconfig-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/test_signal_main.cpp')
0 files changed, 0 insertions, 0 deletions