cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Sebastien Koechlin I-VISION)
Subject Re: character encoding
Date Mon, 22 May 2000 17:37:51 GMT
Nacho wrote:
> Hi, man
> The mean of this is that <?cocoon-format encoding="XXX"?> dont works????
> i have the same problem but i'm trying to put a PI for cocon to
> format´..

I have encoding problems too.

How is it supposed to work?

I have a valid and working xml file begining with
	<?xml version="1.0" encoding="iso-8859-1"?>

my xsl file also begin with
	<?xml version="1.0" encoding="iso-8859-1"?>

I put "encoding" attribut to tell cocoon that my source
file is writen using iso-8859-1 and that "é" means &eacute;

Sending text/html is OK, "é" is translated into &eacute;

Sending text/wml (text/vnd.wap.wml) does NOT work, Cocoon
send data begining with 
	<?xml version="1.0" encoding="UTF-8"?>
but characters are still encoded using iso-8859-1 charset.
(I have dumped http response).

Sebastien Koechlin

View raw message