The Unicode Bidirectional Text Algorithm

Draft
This page is not complete.

The Unicode® Bidirectional Algorithm (also known as the BiDi Algorithm) is part of the Unicode text standard that describes how the user agent should order characters while rendering Unicode text. Understanding this algorithm in at least basic terms is helpful when you're striving to produce localization-ready web content or apps.

In this guide, we'll take a look at the BiDi Algorithm and learn in general what it does and how it applies to your content, so that you'll be better prepared when using the features of HTML and CSS to which the algorithm applies while determining the order and directionality of text during rendering.

Fundamentals

(base direction, character types, etc)

The algorithm

Character level directionality

Directional runs

(what they are, how base direction applies)

Handling neutral characters

Overriding the algorithm

Content about using HTML and CSS to override the default behavior of the algorithm; include info about isolating ranges etc.

See also

Document Tags and Contributors

Contributors to this page: Sheppy
Last updated by: Sheppy,