]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Unescape JSON in UTF-8.
authorJohn Wolfe <jwolfe@vmware.com>
Mon, 19 Apr 2021 18:08:11 +0000 (11:08 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Mon, 19 Apr 2021 18:08:11 +0000 (11:08 -0700)
Add a routine to unescape JSON escape sequence in UTF-8 strings.

open-vm-tools/lib/include/codeset.h

index fbf7b5e66798770ff0f8f1045e282efe801eb84d..af9f8b7529e5c7c7c7f464307dab4d6d81ffb6fd 100644 (file)
@@ -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:
+
 /*
  *-----------------------------------------------------------------------------
  *