Unicode Utilities: BIDI (UBA)

help | character | properties | confusables | unicode-set | compare-sets | regex | bnf-regex | breaks | transform | bidi | bidi-c | idna | languageid

Shows processing by the UBA (Unicode Bidi Algorithm), which is used to display all Unicode Arabic and Hebrew text. For more information, see bidi info.

This Java implementation supports UBA rules and character properties as of Unicode 6.2. To test current UBA rules, or intermediate versions from Unicode 6.3 forward, see the C Reference demo.

Sample      

Paragraph 1

Base Level 1 = RTLexplicit

Source

Memory Position 0 1 2 3 4 5
Character > > a b c
Bidi Class ON ON WS L L L
Rules Applied N2R
N2R
N2R
Resulting Level
L1

L1

L1


L2


L2


L2

Reordered

Display Position 0 1 2 3 4 5
Memory Position 3 4 5 2 1 0
Character a b c > >

Paragraph 2

Base Level 1 = RTLexplicit

Source

Memory Position 0 1
Character > a
Bidi Class ON L
Rules Applied N2R
Resulting Level
L1


L2

Reordered

Display Position 0 1
Memory Position 1 0
Character a >

Fonts and Display. If you don't have a good set of Unicode fonts (and modern browser), you may not be able to read some of the characters. Some suggested fonts that you can add for coverage are: Noto Fonts site, Unicode Fonts for Ancient Scripts, Large, multi-script Unicode fonts. See also: Unicode Display Problems.

Version 3.9; ICU version: 72.0; Unicode/Emoji version: 15.0;