RE: Reversible bidi (wrote RE: Unicode and Security)

From: Marco Cimarosti (marco.cimarosti@essetre.it)
Date: Thu Feb 07 2002 - 06:51:37 EST


I (Marco Cimarosti) wrote:
> Even the John Cowan's example becomes perfectly unambiguous,
> if the bidi embedding levels are retained:
>
> Case 1:
> From visual order: the Arabs = BARA-LA
> And bidi levels: 1111111111112222222
> Get logical order: the Arabs = AL-ARAB
>
> Case 2:
> From visual order: the Arabs = BARA-LA
> And bidi levels: 3333333332222222222
> Get logical order: AL-ARAB = the Arabs

Errata: the bidi levels in the examples should actually be lowered by one
level.

I must also add that also the paragraph's overall embedding level should be
retained, although this would be almost always identical to the lowest
embedding level in the text.

So, here is the correction:

Even John Cowan's example becomes perfectly unambiguous, provided that the
bidi embedding levels are retained:

Case 1:
        From visual order: the Arabs = BARA-LA
        And bidi levels: 0000000000001111111
        And paragraph level: 0
        You get logical order: the Arabs = AL-ARAB

Case 2:
        From visual order: the Arabs = BARA-LA
        And bidi levels: 2222222221111111111
        And paragraph level: 1
        You get logical order: AL-ARAB = the Arabs

_ Marco



This archive was generated by hypermail 2.1.2 : Thu Feb 07 2002 - 06:14:50 EST