On 16/12/05, toffe <[EMAIL PROTECTED]> wrote: > This is what I get when I show the source of my rendered web page: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <HTML LANG="en"> > > <HEAD><META CONTENT="text/html; charset=utf-8" > HTTP-EQUIV="Content-Type">
This the default setting, and is being included from master.kid. Remove it from there, or edit it to be iso-8859-1, if your whole site uses that encoding. If you just want to override it for that page, then you need to use a match template: http://kid.lesscode.org/language.html#match-templates-py-match > <TITLE>title</TITLE> > <META CONTENT="text/html; charset=iso-8859-1" > HTTP-EQUIV="content-type"> > > <LINK HREF="/static/css/styles.css" TYPE="text/css" REL="stylesheet"> > > <LINK HREF="/static/images/favicon.ico" TYPE="image/x-icon" > REL="shortcut icon"> > > > I get HTML instead of XHTML and both utf-8 and iso-8859-1. > What am I missing? It is driving me nuts! set kid.outputformat ="xhtml" in your dev.cfg. By default, TG sets it to HTML, as this generally the better option for your average website. HTH -- wavy davy "True religion confronts earth with heaven and brings eternity to bear on time" - A. W. Tozer

