don't quote me on this one, but I am pretty sure internationalization
doesn't work in 8a5.

On 12/16/05, toffe <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am having problems with Kid.
> It won't respect the encoding that I set in a template.
>
> This is my template:
>
> <!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"; lang="en"
> xmlns:py="http://purl.org/kid/ns#";>
>
> <head>
>         <title>title</title>
>         <meta http-equiv="content-type" content="text/html;
> charset=iso-8859-1"  />
>         <link rel="stylesheet" href="/static/css/style.css" type="text/css"
> />
>         <link rel="shortcut icon" href="/static/images/favicon.ico"
> type="image/x-icon" />
>
> </head>
>
>
> This is from dev.cfg:
>
> # VIEW
>
> #kid.outputformat="html"
> kid.encoding="iso-8859-1"
>
>
> 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">
>         <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!
>
> I am running Turbogears 0.8a5.
>
> Thanks,
> toffe
>
>

Reply via email to