Compartilhar via


uri::encode_data_string Method

Encodes a string by converting all characters except for RFC 3986 unreserved characters to their hexadecimal representation.

_ASYNCRTIMP static utility::string_t __cdecl encode_data_string(
   const utility::string_t &utf8data
);

Parameters

  • utf8data
    The UTF-8 string data.

Return Value

The encoded string.

Requirements

Header: base_uri.h

Namespace: web::http

See Also

Reference

uri Class