Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: how to add Chinese character to http_client?

$
0
0
Hi ylongwu,

Unicode characters are not allowed in URLs, ASCII characters must be used. What you need to do is percent encode the Unicode characters. We have functions for helping to accomplish this in the library. I believe you want to pass the 'realName' variable to the web::uri::encode_data_string(...) API.

Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>