https://issues.apache.org/bugzilla/show_bug.cgi?id=43736





--- Comment #11 from Thorbjørn Ravn Andersen <[EMAIL PROTECTED]>  2008-07-03 
04:02:52 PST ---
(In reply to comment #4)

> The only way to do it right is to rewrite, which I'm willing to do after
> getting log4cxx out the door.  But 
> there is never any case where using the platform encoding will get you the
> right content and using 
> "UTF-8" would get you the wrong content.

I would suggest looking at the XML snippet generating code instead, and change
it so that all non-ASCII characters as well as <, > and & are encoded as &#...;
(using the unicode value).  This will - I guess - parse correctly and
completely circumvent the encoding problem.

The CDATA wrapper will not be necessary then, since all problematic characters
are properly encoded.

Additionally this will be backware compatible.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to