[ http://issues.apache.org/jira/browse/FOR-143?page=all ]
Ross Gardler updated FOR-143: ----------------------------- Fix Version: (was: 0.8-dev) Description: From: Fabrice Bacchella By default, HTML files are encoded in ISO-8859-1 because of the way the Cocoon's HTML serialiser is declared in sitemap.xmap : <map:serializer name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer"> <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public> <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system> </map:serializer> The default one is such a case is ISO-8859-1. And it even add a META inthe HTML result. But here in French, ISO-8859-15 is better because of the =AB e dans l'o =BB character : =9C. In Russian or Asia, the situation is even worse. Is that possible to add a properties in forrest.properties saying for example : project.encoding=UTF-8 and adding a <encoding>@project.encoding@</encoding> element in the HTML serializer ? And in a more general way, where can I find a document about the way properties are used by forrest ? Which files use them ? How to add a new one ? was: From: Fabrice Bacchella By default, HTML files are encoded in ISO-8859-1 because of the way the Cocoon's HTML serialiser is declared in sitemap.xmap : <map:serializer name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer"> <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public> <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system> </map:serializer> The default one is such a case is ISO-8859-1. And it even add a META inthe HTML result. But here in French, ISO-8859-15 is better because of the =AB e dans l'o =BB character : =9C. In Russian or Asia, the situation is even worse. Is that possible to add a properties in forrest.properties saying for example : project.encoding=UTF-8 and adding a <encoding>@project.encoding@</encoding> element in the HTML serializer ? And in a more general way, where can I find a document about the way properties are used by forrest ? Which files use them ? How to add a new one ? Environment: Priority: Minor (was: Major) Reducing priority and moving to unknown fix release - none of the active devs seem to have an immediate problem with this, although patches for this issue are most welcome. > Encoding of HTML files should be configurable > --------------------------------------------- > > Key: FOR-143 > URL: http://issues.apache.org/jira/browse/FOR-143 > Project: Forrest > Type: Bug > Components: Core operations > Reporter: Juan Jose Pablos > Priority: Minor > > From: Fabrice Bacchella > By default, HTML files are encoded in ISO-8859-1 because of the way the > Cocoon's HTML serialiser is declared in sitemap.xmap : > <map:serializer name="html" mime-type="text/html" > src="org.apache.cocoon.serialization.HTMLSerializer"> > <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public> > <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system> > </map:serializer> > The default one is such a case is ISO-8859-1. And it even add a META inthe > HTML result. But here in French, ISO-8859-15 is better because of the =AB e > dans l'o =BB character : =9C. In Russian or Asia, the > situation is even worse. > Is that possible to add a properties in forrest.properties saying for example > : > project.encoding=UTF-8 > and adding a <encoding>@project.encoding@</encoding> element in the > HTML serializer ? > And in a more general way, where can I find a document about the way > properties are used by forrest ? Which files use them ? How to add a > new one ? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira