Re: Designing a multilingual web site

From: Otto Stolz (Otto.Stolz@uni-konstanz.de)
Date: Thu Jul 20 2000 - 16:35:34 EDT


Munzir Taha hatte geschrieben:
> Suppose I publish the page, how can people know that I told notepad
> to save as Unicode ;-)

Am 2000-07-18 um 03:03 h UCT hat Michael (michka) Kaplan geschrieben:
> The following should go all in one line at the very top of the header:
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">

As said several times before, this is only part of the story.

HTML 3.2 did not allow any other encoding than ISO 8859-1 (Latin-1);
so you have to use HTML 4.0, or a later HTML version.

Now, HTML 4 requires a document type declaration, cf.
<http://www.w3.org/TR/REC-html40/struct/global.html#h-7.2>.
You should also declare the language of your document, cf.
<http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1>
and <http://www.egt.ie/standards/iso639/iso639-en.html>
and the overall directionality, cf.
<http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.2>.

This means that your HTML source should start approximately as follows:
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
               "http://www.w3.org/TR/html4/strict.dtd">
  <HTML LANG=ar dir=RTL>
  <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
    <TITLE>((some meaningful Arabic page-title))</TITLE>
    <LINK HREF="mailto:munzir_taha@yahoo.com" REV=MADE>

Btw., the page-title is also required by HTML 4. It will show up in book-
mark lists, and in answers from search engines; hence, it should be con-
cise and meaningful, even if read out of context. "Welcome to my homepage"
does not qualify; a better title would be "Otto Stolz: Homepage" (an
entirely fictitious example, though).

Best wishes,
   Otto Stolz



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:06 EDT