aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfig.cpp
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2020-07-24 18:49:01 +0200
committerFriedrich W. H. Kossebau <kossebau@kde.org>2020-07-25 00:51:44 +0200
commitd1edad3cc4de378e0065933f3bbdce692678a381 (patch)
tree3e201ad2f14829b05e43da39f67808b4287dc7bc /src/core/kconfig.cpp
parentf0cf93864bd7b72377aebead108dd0da8749ba93 (diff)
downloadkconfig-d1edad3cc4de378e0065933f3bbdce692678a381.tar.gz
kconfig-d1edad3cc4de378e0065933f3bbdce692678a381.tar.bz2
API dox: state explicitly expected encoding for KConfig key & group names
While the API might have been once designed to allow random byte strings to be used as ids and only converted QString to UTF-8, the current implementation in many places assumes the byte strings passed via const char* or QByteArray are also in of UTF-8 encoding (or at least ASCII7-only). See e.g. KConfigGroup::entryMap() or KConfigGroup::name(). Stating the supported encoding explicitly should avoid any misassumptions.
Diffstat (limited to 'src/core/kconfig.cpp')
0 files changed, 0 insertions, 0 deletions