You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ling Kok Choon <ko...@brel.com> on 2001/11/16 03:09:28 UTC

Re: Strange Netscape Behavior

Hi,

   This is the encoding problem, try to change the encoding on the sitemap :

the example is :

  <map:serializers default="html">
   <map:serializer name="links"  src="org.apache.cocoon.serialization.LinkSerializer"/>
   <map:serializer name="xml"    mime-type="text/xml" 
src="org.apache.cocoon.serialization.XMLSerializer"/>
   <map:serializer name="html"   mime-type="text/html"        
src="org.apache.cocoon.serialization.HTMLSerializer">

## try to use encoding ISO-8859-1 because netscape not support well encoding UTF-8
   <encoding>ISO-8859-1</encoding>
##

   </map:serializer>
   <map:serializer name="fo2pdf" mime-type="application/pdf"  
src="org.apache.cocoon.serialization.FOPSerializer"/>
   <map:serializer name="vrml"   mime-type="model/vrml"       
src="org.apache.cocoon.serialization.TextSerializer"/>
   <map:serializer name="wap"    mime-type="text/vnd.wap.wml" 
src="org.apache.cocoon.serialization.XMLSerializer">
    <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
    <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
   </map:serializer>

hope this help,


regards,
Kok Choon.

--------------------------------------------------------
Name: Ling Kok Choon
E-mail: Ling Kok Choon <ko...@brel.com>
Date: 11/16/01
Time: 10:09:29

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions
--------------------------------------------------------


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>