lib/xmltree/xmlinterface.cpp: ignore characters less than 0x20 when saving to xml

This commit is contained in:
[CST] Focus
2012-03-16 20:35:41 +04:00
parent d1a105ffc0
commit 628d3a1855

View File

@@ -114,6 +114,7 @@ std::string convert_UTF8_To_UTF8_XML(const char* s)
r += "'"; r += "'";
break; break;
default: default:
if ((unsigned char)*s >= 32)
r += *s; r += *s;
} }
s++; s++;