BUG: Hack for issue #8647

This commit is contained in:
Brad King 2009-03-02 09:59:14 -05:00
parent 1e6b109fed
commit 3838ec7d9f
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ cmsys_ios::ostream& operator<<(cmsys_ios::ostream& os, cmXMLSafe const& self)
// encoding. Instead of escaping these bytes, we should
// handle the current locale and its encoding.
char buf[16];
sprintf(buf, "&#x%hx;", static_cast<unsigned short>(c));
sprintf(buf, "[bad-char-%hx]", static_cast<unsigned short>(c));
os << buf;
}
break;