slide 9
Copyright © 2005 W3C (MIT, ERCIM, Keio)
Supporting international usage
The basic idea
The title says "
פעילות הבינאום, W3C
" in Hebrew.
Characters as ordered in memory:
The title says " פעילות הבינאום , W3C" in Hebrew.
Using the bidi algorithm only
<p> The title says " <quote xml:lang="he"> םואניבה תוליעפ , W3C < / quote> " in Hebrew. </p>
Go to previous slide Go to next slide Go to the first slide Go to the slide index Go to the PDF version
Slide 9 of 50
This is an example of the need for special markup to support features of certain languages or scripts.
At the top we have a quotation in Hebrew embedded in an English sentence. (The characters are shown in the order they appear in memory.)
The second line shows how we would expect the text to be displayed - with the characters 'W3C' to the left of the embedded quote.
Unfortunately, the Unicode bidirectional algorithm alone is not able to produce this result. The lower line shows the result you would get from the code at the top.
"