W3C home > Mailing lists > Public > www-i18n-comments@w3.org > September 2006

RE: [Comment on ITS WD] Avoid xml:lang='he'

From: Yves Savourel <ysavourel@translate.com>
Date: Fri, 15 Sep 2006 12:51:49 -0600
To: "'Najib Tounsi'" <ntounsi@emi.ac.ma>
Cc: "'Richard Ishida'" <ishida@w3.org>, <www-i18n-comments@w3.org>, <public-i18n-core@w3.org>, <public-i18n-its@w3.org>
Message-ID: <004d01c6d8f8$009372b0$9b05a8c0@Breizh>

Hi Najib,

Thanks for the workaround. Interesting behavior.

We'll probably try to resolve the issue by using <span dir="rtl">: It's 'just' a matter of getting the transform to catch the cases
where we need to add the markup. (The text of the examples in the spec is generated from the real XML files). But it is good to know
that there is a way around if needed.

Thanks
-yves

 

-----Original Message-----
From: Najib Tounsi [mailto:ntounsi@emi.ac.ma] 
Sent: Friday, September 15, 2006 12:06 PM
To: Yves Savourel
Cc: 'Richard Ishida'; www-i18n-comments@w3.org; public-i18n-core@w3.org; public-i18n-its@w3.org
Subject: Re: [Comment on ITS WD] Avoid xml:lang='he'

Yves Savourel wrote:
> Mmm... The 'W3CW' appears when you use Firefox, not IE...
>
> I'm guessing this has to do with the Bidi characters I had to use to 
> display the text correctly (since the HTML is generated from the XML and we can't add a *real* <span dir="rtl">.
>
> I'll try to find a solution.
>   
It seems that firefox/camino/mozilla have a strange behavior with this pre element <pre> &#x202B; &#1606;&#1588;&#1575;&#1591;
&#1575;&#1604;&#1578;&#1583;&#1608;&#1610;&#1604; W3C </pre>

where 2020B is a ctrl char, (RIGHT-TO-LEFT EMBEDDING here).
The texte is "Internationalization Activity" in Arabic (from your example 35)

A solution is to break your texte in two lines !??
<pre>
&#x202B; &#1606;&#1588;&#1575;&#1591;
&#1575;&#1604;&#1578;&#1583;&#1608;&#1610;&#1604; W3C </pre>

Really strange.
See my example of the  bug in
http://www.w3c.org.ma/Tests/W3CW-bug.html

Regards,

Najib
Received on Friday, 15 September 2006 18:52:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:32:36 GMT