From 3838ec7d9f2b60281b6c92b6a614a78ff78a785c Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 2 Mar 2009 09:59:14 -0500 Subject: BUG: Hack for issue #8647 --- Source/cmXMLSafe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmXMLSafe.cxx b/Source/cmXMLSafe.cxx index 5cf93ca..717743b 100644 --- a/Source/cmXMLSafe.cxx +++ b/Source/cmXMLSafe.cxx @@ -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(c)); + sprintf(buf, "[bad-char-%hx]", static_cast(c)); os << buf; } break; -- cgit v0.12