Questions on the Unicode BiDirectional (BIDI) Algorithm
Philippe Verdy
verdy_p at wanadoo.fr
Mon Jul 7 12:11:25 CDT 2014
It just changes the direction behavior, it does not replace characters,
except in the preference mode using "national digits".
Still changing Euro-Arabic digits to some Arabic digit required more
knowledge about the language. And the BiDi algorithm does not track
languages.
So you cannot choose with the BiDi algortithm **alone** how to substitute
Euro-Arabic digits to one of the two sets of Indo-Arabic digits (Western or
Eastern; the eastern set being called "extended" in UCD but being the
natural system of digits for Persan, Pashto, Urdu, and used by many shiite
muslems, the former western set being used also in Arabic by most sunnite
muslems)...
2014-07-07 16:13 GMT+02:00 William Blackwood <wblackwo at tampabay.rr.com>:
> Doug, from Unicode Standard Annex #9 Unicode Bidirectional Algorithm:
>
>
> 3.3.4
>
> W2. Search backward from each instance of a European number until the
> first strong type (R, L, AL, or sos) is found. If an AL is found, change
> the type of the European number to Arabic number.
>
> AL EN → AL AN
>
> AL NI EN → AL NI AN
>
> sos NI EN → sos NI EN
>
> L NI EN → L NI EN
>
> R NI EN → R NI EN
>
>
>
>
> -----Original Message-----
> From: Doug Ewell [mailto:doug at ewellic.org]
> Sent: Sunday, July 06, 2014 1:31 PM
> To: unicode at unicode.org
> Cc: wblackwo at tampabay.rr.com
> Subject: Re: Questions on the Unicode BiDirectional (BIDI) Algorithm
>
> William Blackwood <wblackwo at tampabay dot rr dot com> wrote:
>
> > Can anyone provide me an actively resolving example of a .com domain
> > name that demonstrates employment of the Unicode BIDI algorithm?
> > Specifically, I am looking for realized/resolving examples of an
> > Arabic number (AN) and character-containing domain name, (such as
> > مصر.com <http://xn--wgbh1c.com>), but that which employs the BIDI
> algorithm to change an
> > Arabic 1, to a European number (EN) 1? (E.g. مص١ر.com
> <http://xn--wgbh1cxg.com>), or (مص1ر.com <http://xn--wgb.com>).
> > The BIDI algorithm should be changing either the AN or EN, or vise-
> > versa; or has Verisign not yet incorporated the BIDI algorithm into
> > its registry?
>
> I would never expect application of the Unicode Bidirectional Algorithm to
> change an Arabic digit like ١ into a European digit like 1.
>
> --
> Doug Ewell | Thornton, CO, USA
> http://ewellic.org | @DougEwell
>
>
> ---
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
> http://www.avast.com
>
>
> _______________________________________________
> Unicode mailing list
> Unicode at unicode.org
> http://unicode.org/mailman/listinfo/unicode
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/unicode/attachments/20140707/442f85c3/attachment.html>
More information about the Unicode
mailing list