``` 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: @mloskot: Not silly at all. Most of our work so far has been done in an internal Visual Studio branch, but you will see more churn in the development branch soon, hopefully within a week.
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: @mloskot: Not silly at all. Most of our work so far has been done in an internal Visual Studio branch, but you will see more churn in the development branch soon, hopefully within a week.