W3C home > Mailing lists > Public > www-international@w3.org > January to March 2007

Re: Arabic IDN (simple) example

From: Najib Tounsi <ntounsi@emi.ac.ma>
Date: Fri, 30 Mar 2007 12:56:10 +0000
Message-ID: <460D08EA.7090805@emi.ac.ma>
To: Dan Brickley <danbri@danbri.org>
Cc: Richard Ishida <ishida@w3.org>, 'WWW International' <www-international@w3.org>

Dan Brickley wrote:
>
> Najib Tounsi wrote:
>>
>> Hi Richard,
>>
>> To verify a click on an Arabic IDN, here is one which point to a server:
>> http://المدرسة.المحمدية.للمهندسين.emi.ac.ma/
>
> Useful example, thanks...
>
> FWIW... clicking on this (perfectly displayed) link in my Thunderbird 
> email client, v2beta2 gives an error via
>
> http://%d8%a7%d9%84%d9%85%d8%af%d8%b1%d8%b3%d8%a9.%d8%a7%d9%84%d9%85%d8%ad%d9%85%d8%af%d9%8a%d8%a9.%d9%84%d9%84%d9%85%d9%87%d9%86%d8%af%d8%b3%d9%8a%d9%86.emi.ac.ma/ 
>
>
> "Server not found .... Firefox can't find the server at 
> %d8%a7%d9%84%d9%85%d8%af%d8%b1%d8%b3%d8%a9.%d8%a7%d9%84%d9%85%d8%ad%d9%85%d8%af%d9%8a%d8%a9.%d9%84%d9%84%d9%85%d9%87%d9%86%d8%af%d8%b3%d9%8a%d9%86.emi.ac.ma." 
>
>
> However...
Yes, because the href attibute contains the escaped-sequence version of  
non-ascii characters. Created by Thunderbird. It is that escaped 
sequence which is sent instead of punicode.
Some HTML authoring tools (NVU) convert automatically  non-ascii 
characters into %xx in the href attibute. %xx is legal, but not 
implemented by browsers.

If you copy/paste the IRI into your address bar, it works.
>
>> It is combined with emi.ac.ma to run within our DNS server.
>>
>> You can also link to it from the page:
>> http://www.emi.ac.ma/ntounsi/iri-emi.html
>
> The link in that page works just fine, 
That's why I gave that page, where I've put manually the native IRI in 
the href attribute.

Najib
> Firefox 2.0.0.3, in the same browser which Thunderbird incorrectly 
> invokes above.
>
> Maybe this behaviour is well-known...
>
> Dan
>
>
Received on Friday, 30 March 2007 12:56:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:10 GMT