cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Koechlin <>
Subject Re: [C1] : accent interpretation !
Date Thu, 10 May 2001 15:19:49 GMT
Isabelle Boyer wrote:
> I do a SQL request in my xml document and the data are already in html
> format (i.e "é" is writing &eacute; and etc..) in the database.
> The request is done but in the result, the accent are not interpreted
> correctly.
>  Here is what 's happend : the character "&" is interpreted in "&amp;" so
> the rest is not right.

You have to parse the result, I don't think a DOM Tree has any encoding,
unicode strings. If you are using esql; you can try to adapt
to use jTidy, or use a custom EntityResolver with your parser.

Sébastien Koechlin - IVision -

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message