summaryrefslogtreecommitdiff
path: root/ui/qt/main_window_slots.cpp
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-01-23 09:18:53 +0100
committerAnders Broman <a.broman58@gmail.com>2017-01-27 05:06:39 +0000
commit7f4d8491f32a0bb8ea37376443429e162ea6cd86 (patch)
tree28d9a0625aa72f39c64ebc5cbe9c6f1d1c816a4f /ui/qt/main_window_slots.cpp
parent87f4dc0a9d22060d379db2daa3f4271137a4edcc (diff)
downloadwireshark-7f4d8491f32a0bb8ea37376443429e162ea6cd86.tar.gz
prefs: Preserve UTF-8 characters in preferences.
When saving preferences the strings in string lists must not be escaped with g_strescape() because this will destroy UTF-8 characters. Because this strings only should use printable characters we manually escape quote and backslash, and skip non-printable. Bug: 13342 Change-Id: I57e492dff746a5ecc0aee809f946a615ad110b4d Reviewed-on: https://code.wireshark.org/review/19738 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_window_slots.cpp')
0 files changed, 0 insertions, 0 deletions