joerg 2003/10/20 02:32:20
Modified: src/webapp welcome.xslt
Log:
the problem: the copyright sign was broken (at least at my system)
the reason: the copy task with filtering does not handle encoding
the solution: switching to UTF-8 for the filtered file
the maybe remaining question: does this work in general? or should we use the
replace task instead of the copy task. the former handles encoding.
Revision Changes Path
1.8 +3 -3 cocoon-2.1/src/webapp/welcome.xslt
Index: welcome.xslt
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/welcome.xslt,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- welcome.xslt 8 May 2003 00:05:04 -0000 1.7
+++ welcome.xslt 20 Oct 2003 09:32:20 -0000 1.8
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!-- CVS $Id$ -->
@@ -26,7 +26,7 @@
<h1>Welcome to Apache Cocoon!</h1>
<xsl:apply-templates/>
<p class="copyright">
- Copyright � @year@ <a href="http://www.apache.org/">The Apache
Software Foundation</a>. All rights reserved.
+ Copyright © @year@ <a href="http://www.apache.org/">The Apache
Software Foundation</a>. All rights reserved.
</p>
<p class="block">
<a href="http://cocoon.apache.org/"><img
src="{$contextPath}/images/powered.gif" alt="Powered by Apache Cocoon"/></a>