Bidirectional algorithm question (2.0)

From: Nick Clarey (nclarey@syd.asc.corp.mot.com)
Date: Tue Aug 17 1999 - 21:08:47 EDT


Howdy all,

I've got a question regarding the processing of European numbers with
Arabic letters.

Here's the situation;

AL AL AL ET EN EN EN

An example of this might be;

AL AL AL $ 5 0 0

Running through the bidi algorithm, we get the following...

(P0)
AL AL AL ET AN AN AN

(P3)
AL AL AL N AN AN AN

(N3)
AL AL AL R AN AN AN

(I1)
Levels - 1 1 1 1 2 2 2
Text - AL AL AL $ 5 0 0

(L2)

5 0 0 $ AL AL AL

Where the "AL" characters are reversed.

Is this correct, or have I erred? We're just split on whether or not this
is correct behaviour, because it appears strange to my eurocentric eyes.

See ya,

Nick

-----
Nick Clarey, Software Engineer
Motorola Australia Software Centre
ph 61-2-9666-0582 fax 61-2-9666-0579



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:51 EDT