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 Tue, 23 May 2000 10:17:55 GMT
Rafael Oropeza wrote:
> Try with the equivalent numeric format for entities
> For example:
>   is  
> < is <
> and so on

It's not a problem about input into Cocoon, but a
wml output problem, a Cocoon bug.

Cocoon should not send <?xml ... encoding="UTF-8"?> and print
every characters using iso-8859-1 charset (or other).

	formatter.text/wml.encoding = something
into solve the problem.


I can not change encoding in my stylesheet,

I wrote this:
<?xml version="1.0" encoding="iso-8859-1"?>

<xsl:stylesheet version="1.0"

<xsl:output method="xml" encoding="ISO-8859-2"/>

<xsl:template match="page">


but Cocoon does not produce iso-8859-2, it send:
	<?xml version="1.0" encoding="UTF-8"?>

Same for WML (but WML is XML).

Does <xsl:output/> works ? And how ?

S├ębastien Koechlin

View raw message