Re: Designing a multilingual web site

From: Michael \(michka\) Kaplan (michka@trigeminal.com)
Date: Sun Jul 16 2000 - 09:49:59 EDT


Do you have script on the page that does it for you, then? The IE
auto-download is keyed off the charset (unless you add script, which works
great either way). I would be interested in seeing a page that proved this
wrong, since the docs and some private testing found this to not work
without script.

The script would look like this (for Arabic):

<html xmlns:IE>
<head>
<style>
@media all {
      IE\:clientCaps {behavior:url(#default#clientCaps)}
}
</style>

<script>
function window.onload()
{
   var bAra = false;
   var sAra = '';
   var sID = "{76C19B38-F0C8-11CF-87CC-0020AFEECF20}";
   var sComp = "componentid";

   bAra = oCComp.isComponentInstalled(sAra,sComp);

   // if Hebrew support is unavailable, install it
   if (!bAra)
   {
      oComp.addComponentRequest(sAraID,sComp);
  bAra = oComp.doComponentRequest();
   }
   :
}
</script>
</head>
<body BGCOLOR="#FFFFFF">
   :
   <IE:clientCaps ID="oComp" />
   :
</body>
</html>

The only thing bad about it is that it if scripts are turned off, you lose
the feature.

michka

----- Original Message -----
From: "Roozbeh Pournader" <roozbeh@sina.sharif.ac.ir>
To: "Michael (michka) Kaplan" <michka@trigeminal.com>
Cc: "Unicode List" <unicode@unicode.org>
Sent: Sunday, July 16, 2000 12:39 AM
Subject: Re: Designing a multilingual web site

>
>
> On Sat, 15 Jul 2000, Michael (michka) Kaplan wrote:
>
> > 2) You lose the ability to get script-less auto-download of language
support
> > for ARA/HEB/THA/VIE/CHT/CHS/KOR/JPN for people using IE
5.0/5.01/5.5/etc.
>
> I use UTF-8 for my Arabic pages, and the IE 5 auto-download is working
> with them.
>
> --roozbeh
>
>
>



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