Re: UTF 8 "Content-Language"

From: Jukka K. Korpela (
Date: Sun Jun 01 2008 - 00:10:12 CDT

  • Next message: Richard Wordingham: "Re: Understanding PUA - (was) Re: Re: Ligatures For Indic languages"

    Joó Ádám wrote:

    > The Content-Language header is designed to indicate only one language
    > for the document.

    Besides, the <meta http-equiv ...> tag is at most a replacement for real
    HTTP headers, and it will be ignored if it conflicts with real headers.

    > If you use different languages, use the lang (or
    > more preferably the xml:lang, in case of XHTML) attribute:

    While xml:lang might be preferable according to some school, it has
    considerably narrower support in relevant software. Moreover, the
    question implied (by the syntax in its HTML fragments) that HTML is
    used, so the lang attribute is the correct one.

    In practice, few programs support the lang attribute (and even fewer
    xml:lang). For example, www search engines don't, partly because those
    attributes are so often used wrongly (i.e. to mislabel text as being in
    a language other than its real language).

    Jukka K. Korpela ("Yucca")

    This archive was generated by hypermail 2.1.5 : Sun Jun 01 2008 - 00:14:06 CDT