<div dir="ltr">Nice! I missed that blog. So that this mean that plain vanilla Android still does not have proper BiDi support? <br><br>You didn't say it explicitely, but I understand from what you wrote that you choose JNI to access ICU for your BiDi solution. Was that JNI layer ever introduced to the open source Android to replace their buggy Java implementation?<br>
<br>Regards,<br>Dov<br><br><div class="gmail_quote">On Sun, Sep 26, 2010 at 10:48, Shachar Shemesh <span dir="ltr"><<a href="mailto:shachar@shemesh.biz">shachar@shemesh.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr" bgcolor="#ffffff" text="#000000"><div class="im">
Dov Grobgeld wrote:
<blockquote type="cite">
<div dir="ltr">I'm curious. Did your Hebrew support modifications
include full BiDi support? Did you write the bidi code yourself, or did
you use some known library?<br>
<br>
</div>
</blockquote></div>
I wrote about it extensively at the time:<br>
<a href="http://blog.shemesh.biz/?p=726" target="_blank">http://blog.shemesh.biz/?p=726</a><br>
<br>
As for the BiDi support, each Android installation already arrives with
TWO BiDi implementation. One inside the framework and another inside
ICU for C++, which is compiled for the platform in its completion, but
only used, as far as I can tell, to perform the BiDi character
classification. It might be used by non-Java code, or else why they did
not use ICU for Java is beyond me. Why they re-implemented that BiDi
algorithm (badly) and not used JNI is also beyond me.<br>
<br>
As such, I saw it as a smart move not to add a third implementation. In
fact, I always try to avoid re-implementing complicated algorithms for
which good implementations already exist. As such, in all of my years
of dong BiDi work on various platforms, the number of complete
implementations of the UBA I have coded is zero. This is a fact I am,
actually, proud of.<br><font color="#888888">
<br>
Shachar</font><div class="im"><br>
<pre cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a href="http://www.lingnu.com" target="_blank">http://www.lingnu.com</a>
</pre>
</div></div>
</blockquote></div><br><div style="display: none;" id="divCleekiAttrib"></div></div>