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

Closed Issue: WHY USE unescape_string here? [7]

$
0
0
``` C++
std::string web::json::details::_String::as_utf8_string() const
{
if(is_wide())
{
return utf16_to_utf8(unescape_string<utf16char>(m_wstring.get()));
}
else
{
return unescape_string<char>(m_string.get());
}
}
```
should escape_string should be used here?
Comments: This is addressed in the v1.0.0 release

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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