1
0
Fork 0

DBG: fixed a bug in escaping strings

This commit is contained in:
Mr. eXoDia 2015-05-07 20:11:17 +02:00
parent db4996563b
commit ed95654da7
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ String StringUtils::Escape(const String & s)
if(!isprint(ch)) //unknown unprintable character
{
char buf[16] = "";
sprintf_s(buf, "\\%.2X", ch);
sprintf_s(buf, "\\x%.2X", (unsigned char)ch);
escaped += buf;
}
else