SECTION("issue #2824 - encoding of json::exception::what()")
{
jsonj;
sax_no_exceptionsax(j);
CHECK(!json::sax_parse("xyz",&sax));
CHECK(sax_no_exception::error_string=="[json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: 'x'");
}
SECTION("issue #2825 - Properly constrain the basic_json conversion operator")