Bidirectional Control
Bidirectional Control is a character property that designates specific formatting codes used to manage text direction in mixed-language contexts, such as combining left-to-right and right-to-left scripts. These control characters, including LRM, RLM, LRE, RLE, PDF, LRO, RLO, and ALM, override the automatic bidirectional algorithm that normally determines character ordering. Their purpose is to ensure correct visual display when default directionality fails, for example in nested quotes, parentheses, or embedded Hebrew or Arabic within English text. The property strictly classifies these characters as having explicit directional control, meaning they do not represent visible glyphs but instead influence how neighboring characters are ordered. This allows software to handle complex layouts predictably, though misuse can cause confusing "bidi spoofing" in security contexts. As such, the property is essential for proper rendering of multilingual documents and user interfaces.
- Abbr
- Y
- Count
- 12
Yes is the value that designates characters like U+200E and U+202E, which explicitly control text direction in bidirectional displays.
- Abbr
- N
- Count
- 310329
No is the default bidirectional state, indicating text follows the standard left to right or right to left direction without forced override.