<?xml version="1.0" encoding="UTF-8"?>
<test>
<node>Special chars : œ Œ</node>
<node>Special chars : œ Œ</node>
</test>
The "e into o" like we call it in french is not well displayed when it's in "&#....;" form.
(Why encode specials chars if they are better interpreted when they're UTF-8 simple chars.)
Any ideas on a Xalan parameter ? Any script to replace all chars ?
Nicolas
Le samedi, 9 aoû 2003, à 23:41 Europe/Paris, Joerg Heinicke a écrit :
Strange, an application reading XML files but not understanding entities?
There is not much that can be done I guess. It's the task of serializer (Xalan by default), so you should ask there if an option exists. IIRC for Saxon such an option exists.
Joerg
Nicolas SANDRI wrote:
Hello,
I'm extracting datas from a MySQL database to make a XML file UTF-8 encoded (I use XSP, ESQL). This XML file is used by another software.
The problem is that every special chararcter (like œ, Œ...) are written as œ (œ), Œ (Œ)...
These characters are not understood by the software reading the XML file. If I replace every &#...; by it's real character, there's no more problem.
My question is : can we force Cocoon to use UTF-8 encoded character than it's 'code' (&#...;) ?
Thanks
Nicolas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
