<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div>Bidi algorithm is certainly not perfect but it handles most cases correctly and it gives you the possibility to force a given directional behaviour, if needed.</div>
<div><br></div><div>The BIG advantage of the bidi algorithm is that it is a standard. Every piece of software will represent the same Unicode string in the same way. For example, if you keyboard your text using a bidi-compatible text editor, then you will get the same output as what you&#39;ll see on your screen. And once you get used to the behaviour of text with respect to the five bidi special characters, then you can keyboard RTL languages in the same way everywhere. That&#39;s an improvement to previous input methods.</div>
<div><br></div><div>I&#39;m convinced that it is a good thing to implement bidi, *but* it may not be trivial since bidi needs information coming from higher-level protocols about the main direction in the context of the document. For example, in the case of XHTML you have a dir attribute. Here is the correponding text:</div>
<div><br></div><div><span style="font-family: Arial; font-size: 16px;"><table style="border: 0px none black; margin: 0px; border-collapse: collapse;" border="0" cellpadding="4" cellspacing="0"><tbody><tr><td style="border: 0px none black; margin: 0px; border-collapse: collapse; font-family: &#39;Lucida Sans Unicode&#39;,&#39;Arial Unicode MS&#39;,Arial,sans-serif; color: black; vertical-align: top; text-align: left;" valign="top">
<br></td><td style="border: 0px none black; margin: 0px; border-collapse: collapse; font-family: &#39;Lucida Sans Unicode&#39;,&#39;Arial Unicode MS&#39;,Arial,sans-serif; color: black; vertical-align: top; text-align: left;" valign="top">
</td></tr></tbody></table></span></div></div></blockquote><div><br><br>Thanks for the information. I agree.<br><br>BTW: Donald Knuth has told meĀ  a lot about you and your knowledge and I feel very lucky to have you here on this list. <br>
</div></div><br></div>