Bidi and Empty Parentheses

Eli Zaretskii eliz at gnu.org
Tue Mar 1 08:47:12 CST 2022


> Date: Tue, 01 Mar 2022 14:11:46 +0000
> From: Andreas Prilop via Unicode <unicode at corp.unicode.org>
> 
> You should not use the embedding characters any longer.
> After 15 years of Bidirectional Algorithm, they finally discovered that the embedding
> characters (as well as their HTML and CSS equivalents) do not work as desired.
> 
> Example:
> 
> <!DOCTYPE html> <html lang=hu> <style>
> h1+h1 span{unicode-bidi:embed}</style>
> <title>Egy kettő három</title>
> <h1><span dir=rtl>1 2 3</span> 0x</h1>
> <h1><span dir=rtl>1 2 3</span> 0x</h1>
> <h1>⁧1 2 3⁩ 0x</h1>
> <h1>‫1 2 3‬ 0x</h1></html>

What doesn't work here as desired, may I ask?


More information about the Unicode mailing list