diff --git a/lib/xmltree/xmlinterface.cpp b/lib/xmltree/xmlinterface.cpp index c2cd7493e..a1699d612 100644 --- a/lib/xmltree/xmlinterface.cpp +++ b/lib/xmltree/xmlinterface.cpp @@ -114,7 +114,8 @@ std::string convert_UTF8_To_UTF8_XML(const char* s) r += "'"; break; default: - r += *s; + if ((unsigned char)*s >= 32) + r += *s; } s++; }