Re: UTF 8 "Content-Language"

From: Doug Ewell (dewell@roadrunner.com)
Date: Sat May 31 2008 - 18:50:33 CDT


Sinnathurai Srivas wrote:

> When I add two commands in row, only the last one appears effective.
> eg,
>
> <meta http-equiv="Content-Language" content="ta">
> <meta http-equiv="Content-Language" content="en">

You can't do this; only one such field is permitted. See RFC 2616,
section 14.12, "Content-Language". Since the correct HTTP would be:

    Content-Language: ta, en

it seems that what you want in your HTML is:

    <meta http-equiv="Content-Language" content="ta, en">

Or perhaps even:

    <html lang="ta">
    ...
    ... lots of Tamil content here ...
    ...
    <span lang="en"> ... some English content ... </span>
    ...
    ... more Tamil content ...
    ...
    </html>

--
Doug Ewell  *  Arvada, Colorado, USA  *  RFC 4645  *  UTN #14
http://www.ewellic.org
http://www1.ietf.org/html.charters/ltru-charter.html
http://www.alvestrand.no/mailman/listinfo/ietf-languages  ˆ


This archive was generated by hypermail 2.1.5 : Sat May 31 2008 - 18:53:15 CDT