Hi guys,

I'm having some problems switching over from UTF-8 to iso-8859-1. The
output is encoded in ISO-8859-1 but somehow a metatag sneaks into the
output telling the browser it's UTF-8.  This specific template doesn't
extend master.kid so what generates this metatag?

Here is the case:

Input:
--------
app.cfg:
kid.outputformat="html"
kid.encoding="ISO-8859-1"

orderconfirmation.kid:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";
xmlns:py="http://purl.org/kid/ns#";>
  <head>
    <META CONTENT="text/html; charset=iso-8859-1"
HTTP-EQUIV="content-type" />
    <title>Orderconfirmation</title>
  </head>
...

Output:
----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<HTML>
  <HEAD><META CONTENT="text/html; charset=utf-8"
HTTP-EQUIV="Content-Type">
    <META CONTENT="text/html; charset=iso-8859-1"
HTTP-EQUIV="content-type">
    
    <TITLE>Orderconfirmation</TITLE>
  </HEAD>
...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to