cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Pope <benpop...@gmail.com>
Subject Re: How to stop using numeric entities?
Date Mon, 25 Apr 2005 01:04:36 GMT
makoto hirayama wrote:
> Hi, Ben.
> 
> I try serialising as Windows-31J (Shift_JIS).
> 
> My pipeline and component configurations are very simple.
> 
> -generator -> FileGenerator
> -transformer -> TraxTransformer
> -serializer -> HTMLSerializer -> <encoding>Windows-31J</encoding>
> I use standard Cocoon components.
> 
> And pipeline, 
> 
> <map:pipleline>
>   <map:match pattern="hello.html">
>     <map:generate src="hello.xml">
>     <map:transform src="hello.xsl">
>     <map:serialize />
> </map:pipleline>
> 
> 'hello.xml' contains 'ko-n-ni-chi-wa'.
> 
> I want to publish 'ko-n-ni-chi-wa' as is in hello.html, 
> but its wards are changed to '&#12371;&#12435;&#12395;&#12385;&#12399;'.
> 
> thanks.


What about the encoding of your original files?

hello.xml:
<?xml encoding="Shift-JIS"?>
<yada yada>

hello.xsl:
<?xml encoding="Shift-JIS"?>
<xsl:output encoding="Shift-JIS">
<yada yada>


Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message