Re: UTF 8 "Content-Language"

From: Joó Ádám (ceriak@gmail.com)
Date: Sat May 31 2008 - 18:42:32 CDT

  • Next message: Doug Ewell: "Re: UTF 8 "Content-Language""

    The Content-Language header is designed to indicate only one language
    for the document. If you use different languages, use the lang (or
    more preferably the xml:lang, in case of XHTML) attribute:

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>...</head>
        <body>
            <p>This is English</p>
            <p xml:lang="ta">This is something other</p>
        </body>
    </html>

    Regards,
    Ádám

    On Sun, Jun 1, 2008 at 12:59 AM, Sinnathurai Srivas
    <sisrivas@blueyonder.co.uk> wrote:
    > I'm trying to enable two languages within single page/web page.
    >
    > 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">
    >
    > In the above case only the "en" appears to become effective.
    > I do not know the way to test if both "ta" and "en" are effevtive.
    >
    > Any suggestion including other ways of difining more than one language
    > within single page, would be appriciated.
    >
    > Sinnathurai



    This archive was generated by hypermail 2.1.5 : Sat May 31 2008 - 18:45:16 CDT