SysTutorials

Linux Manual Pages › Section 3

mongoc_uri_unescape(3)

mongoc_uri_unescape() – Unescapes an URI encoded string. For example, "%40" would become "@".

Synopsis

char *
mongoc_uri_unescape (const char *escaped_string);

Parameters

escaped_string
A utf8 encoded string.

Description

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

Returns

Returns a newly allocated string that should be freed with bson_free(3) \&.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.