stefano 2003/03/11 03:55:47
Modified: src/webapp welcome.xslt
Log:
fix the encoding problems for some user agents. This is clearly sort-of an hack as
it should be the serializer to add the <meta> content-type tag accordingly to its
settings. placing it here creates some concern overlap. We should send a
future-request to the Xalan people for this.
Revision Changes Path
1.2 +9 -0 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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- welcome.xslt 9 Mar 2003 00:10:42 -0000 1.1
+++ welcome.xslt 11 Mar 2003 11:55:47 -0000 1.2
@@ -6,6 +6,15 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Welcome to Cocoon!</title>
+ <!--
+ NOTE (SM): this meta tag reflects the *output* of the pipeline and not
+ the encoding of this file. I agree it's sort of an hack and it should
+ be the XHTML serializer to add the meta tag to the response, but, for
+ now, this fixes encoding problems in those user-agents that don't parse
+ the <?xml?> processing instruction to understand the encoding of the
+ stream
+ -->
+ <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
<link href="styles/cocoon.css" type="text/css" rel="stylesheet"/>
<link href="favicon.ico" rel="SHORTCUT ICON" />
</head>