cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Flynn <>
Subject Re: Encoding
Date Fri, 17 Dec 2010 15:16:52 GMT
On 17/12/10 15:06, Peter Flynn wrote:
> The result is that the output at
> has Unicode replacement characters instead of accents.

Curiouser and curiouser, that page serves as UTF-8 but lower down it says:

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html xmlns="" lang="en-ie">
   <head xmlns="" xmlns:h="">
      <meta http-equiv="Content-Type"
            content="text/html; charset=ISO-8859-1">
      <!--School: A005; Researcher-in-School: ; Real School: -->
      <meta content="no-cache" http-equiv="Pragma">

That is generated by

  <xsl:template match="h:head">
      <xsl:text>School: </xsl:text>
      <xsl:value-of select="$school"/>
      <xsl:text>; Researcher-in-School: </xsl:text>
      <xsl:value-of select="$researcher-in-school"/>
      <xsl:text>; Real School: </xsl:text>
      <xsl:value-of select="$real-school"/>
    <meta http-equiv="Pragma" content="no-cache"/>

so WTF is that
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
coming from? Is Cocoon sticking it in by itself? The page template which
I take for the framework is
and that says quite clearly
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Something, somewhere is sticking a bogus encoding in the works.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message