Bidi: inserting Japanese paragraphs in Arabic/Farsi document

Eli Zaretskii eliz at gnu.org
Sun Nov 20 09:29:35 CST 2016


> From: Simon Cozens <simon at simon-cozens.org>
> Date: Sun, 20 Nov 2016 21:22:46 +1100
> 
> On 20/11/2016 19:46, Philippe Verdy wrote:
> > Why don't the Japanese backets pair together to avoid having one
> > mirrored and not the other one ?
> 
> Isn't this the classic bidi brackets problem? The 【 is assumed to belong
> to the base level because it's bidi neutral, but the 】 is assumed to be
> part of the LTR text, so they end up in different isolating runs.

The UBA was changed in Unicode 6.3 to process mirrored bracket pairs
specially, to avoid this issue.  But not all browsers caught up with
that yet.


More information about the Unicode mailing list