除 RFC 3986 非保留字符之外,将字符串的所有字符转换为相应的十六进制表示形式。
_ASYNCRTIMP static utility::string_t __cdecl encode_data_string(
const utility::string_t &utf8data
);
参数
- utf8data
UTF-8 字符串数据。
返回值
这些编码的字符串。
要求
**标头:**base_uri.h
**命名空间:**web::http
除 RFC 3986 非保留字符之外,将字符串的所有字符转换为相应的十六进制表示形式。
_ASYNCRTIMP static utility::string_t __cdecl encode_data_string(
const utility::string_t &utf8data
);
这些编码的字符串。
**标头:**base_uri.h
**命名空间:**web::http