Wireshark-commits: [Wireshark-commits] master 7f4d849: prefs: Preserve UTF-8 characters in preferen
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7f4d8491f32a0bb8ea37376443429e162ea6cd86
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
7f4d849 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
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@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 87f4dc0 Qt: Preference editor improvements.
adds 7f4d849 prefs: Preserve UTF-8 characters in preferences.
Summary of changes:
epan/prefs.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)