settings
skip menu
change media type
xhtml+xml
change language
deutsch
scripting

URI: http://www.j-a-b.net/web/char/char-ua-bidi-variance
last updated: 2009-12-04
© 2002-2009 Contact

up down
Subject Index

User Agent Variance in Applying Bidi Algorithms

When considering bidirectionality in documents you should be aware of two problems, the first being that there exist different rules for directionality, based on the character itsself, the possible usage of characters LEFT-TO-RIGHT MARK, Unicode CP 8206dec (symbol LEFT-TO-RIGHT MARK, abbreviation: LRM) and RIGHT-TO-LEFT MARK, Unicode CP 8207dec (symbol RIGHT-TO-LEFT MARK, abbreviation: RLM), the use of the HTML dir attribute, and the use of the CSS unicode-bidi attribute. The second problem is, that depending on the browser you use, you will get different results when these rules are applied.

The following illustration shows how a combination of all these rules is rendered in three different browsers. Note the considerable difference and that only Mozilla applies both normal and embed values for the CSS unicode-bidi attribute.

Difference in directionality in different browsers
Subject Index

CC logo
This page is licensed under a Creative Commons License.