cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z.Z." <za...@vili.pmmf.hu>
Subject Serialization encoding problem
Date Wed, 21 Jul 2004 20:35:31 GMT
Hi All,

I use Cocoon 2.1.5.1 in Linux environment. Character set of my xmls is 
utf-8. All of setting is utf-8 (web.xml, sitemap.xmap, xsls...)
When I see source of my generated htmls, character set is utf-8. But 
in body all of accented char is made  by acuted (&aacute; ...). 
Accented chars In head section is correct, only in body are wrong.
in head:

=============================================
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.Táblázat1.A1{
background-color:#d9d9d9; }
...
</head>
=============================================
in  body:

=============================================
<body>

<table class="T&aacute;bl&aacute;zat1">
...
. A 8 vari&aacute;c&oacute; k&ouml;z&uuml;l egyes 
&aacute;ll&iacute;t&aacute;sok pontosak, m&aacute;sok hamisak, de 
mindegyik meghat&aacute;rozott (2.1. t&aacute;bl&aacute;zat).
=============================================

in sitemap.xmap there is :

<map:serializers default="html">		
  <map:serializer name="html" mime-type="text/html; charset=utf-8" 
			 src="org.apache.cocoon.serialization.HTMLSerializer">
    <encoding>utf-8</encoding>
    <omit-xml-declaration>true</omit-xml-declaration>
  </map:serializer>
</map:serializers>

in web.xml there is:
    <init-param>
      <param-name>container-encoding</param-name>
      <param-value>utf-8</param-value>
    </init-param>

    <init-param>
      <param-name>form-encoding</param-name>
      <param-value>utf-8</param-value>
    </init-param>

How can I prevent acuted chars in body?

-- 
thx,
----------------------------------------------------
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694

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


Mime
View raw message