From: John Wolfe Date: Mon, 19 Apr 2021 18:08:11 +0000 (-0700) Subject: Unescape JSON in UTF-8. X-Git-Tag: stable-11.3.0~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a183c79fbd8188a1d2aa1322469d19e71be7d676;p=thirdparty%2Fopen-vm-tools.git Unescape JSON in UTF-8. Add a routine to unescape JSON escape sequence in UTF-8 strings. --- diff --git a/open-vm-tools/lib/include/codeset.h b/open-vm-tools/lib/include/codeset.h index fbf7b5e66..af9f8b752 100644 --- a/open-vm-tools/lib/include/codeset.h +++ b/open-vm-tools/lib/include/codeset.h @@ -404,6 +404,8 @@ char *CodeSet_Utf8Escape(const char *utf8, // IN: char *CodeSet_JsonEscape(const char *utf8); // IN: +char *CodeSet_JsonUnescape(const char *utf8); // IN: + /* *----------------------------------------------------------------------------- *