rolled back temporary

This commit is contained in:
MihailRis 2024-01-25 01:05:28 +03:00
parent 7613aa4e97
commit 32891ad156

View File

@ -67,11 +67,10 @@ std::string escape_string(std::string s) {
case '"': ss << "\\\""; break; case '"': ss << "\\\""; break;
case '\\': ss << "\\\\"; break; case '\\': ss << "\\\\"; break;
default: default:
/*if (c < ' ') { if (c < ' ') {
ss << "\\" << std::oct << uint(ubyte(c)); ss << "\\" << std::oct << uint(ubyte(c));
break; break;
}*/ }
// write it utf-8 encoded as is
ss << c; ss << c;
break; break;
} }