1MONGOC_URI_UNESCAPE(3) libmongoc MONGOC_URI_UNESCAPE(3)
2
3
4
6 mongoc_uri_unescape - mongoc_uri_unescape()
7
9 char *
10 mongoc_uri_unescape (const char *escaped_string) BSON_GNUC_WARN_UNUSED_RESULT;
11
13 • escaped_string: A utf8 encoded string.
14
16 Unescapes an URI encoded string. For example, "%40" would become "@".
17
19 Returns a newly allocated string that should be freed with bson_free().
20 If escaped_string contains an invalid UTF-8 character or an invalid es‐
21 cape sequence, returns NULL.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.20.0 Nov 18, 2021 MONGOC_URI_UNESCAPE(3)