[Zope] local characters and ParsedXML
Dennis Allison
allison@sumeru.stanford.EDU
Tue, 17 Dec 2002 06:54:45 -0800
You might try setting your browser to display UTF-8.
Take a look at the mix-in class, DOMIO, in the ParsedXML source,
MangeableDOM.py. Internally ParsedXML works in Unicode and evaluates
all entity references to their Unicode equivalent. When the ParsedXML
renders the text into the <textarea> of the form, it does not recreate
entity references from the internal representation but writes the
character itself in a representation your browser does not understand.
I think the right solution would be to override DOMIO with methods to
recreate entity references from the Unicode source so that only ASCII
characters appear in the <textarea>.