DOKK / manpages / debian 11 / libmongoc-doc / mongoc_uri_unescape.3.en
MONGOC_URI_UNESCAPE(3) libmongoc MONGOC_URI_UNESCAPE(3)

mongoc_uri_unescape - mongoc_uri_unescape()

char *
mongoc_uri_unescape (const char *escaped_string);


escaped_string: A utf8 encoded string.

Unescapes an URI encoded string. For example, "%40" would become "@".

Returns a newly allocated string that should be freed with bson_free(). If escaped_string contains an invalid UTF-8 character or an invalid escape sequence, returns NULL.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6