Yep,
I noticed that too. But where it is coming from?
Remember, the whole cocoon directory is a copy from old to new.
I also copied e.g. Tomcat server.xml same way.

- mika -


On Thu, 20 Sep 2012 10:03:46 +0200, Robby Pelssers <robby.pelss...@nxp.com> wrote:
The one that does not work has following encoding in <head>

<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">

Robby

-----Original Message-----
From: m...@digikartta.net [mailto:m...@digikartta.net]
Sent: Thursday, September 20, 2012 9:23 AM
To: users@cocoon.apache.org
Subject: more encoding problems


 Hi,
C2.11, I moved my app from one server to another, which resulted some
 pages to broke that is scands won't encode properly.
 I have this in my sitemap:

 <map:match pattern="linkki/html/*">
 <map:generate src="cocoon:/linkki/{1}" type="text">
 </map:generate>
 <!--<map:transform type="xslt" src="linkki.xslt"/>-->
 <map:serialize type="text">
 </map:serialize>
 </map:match>

 <map:match pattern="linkki/*">
 <map:read type="databasereader" src="0" mime-type="text/plain">
 <!-- option sitemap parameters -->
 <map:parameter name="table" value="arvot"/>
 <map:parameter name="image" value="arvo_varchar"/>
 <map:parameter name="key" value="fake"/>
 <map:parameter name="where" value="id={1}"/>
 </map:read>
 </map:match>

 You can try this out:
 Old server
 http://77.240.23.91/cocoon/palaute_app/linkki/841 works
 http://77.240.23.91/cocoon/palaute_app/linkki/html/841 works
 New server
 http://88.148.163.59/cocoon/palaute_app/linkki/1059 works
http://88.148.163.59/cocoon/palaute_app/linkki/html/1059 doesn't work
 !!

 Any thoughts?
 I have tried a lot of things without success.

 - mika -

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


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


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

Reply via email to