The Full Wiki

More info on Right-to-left mark

Right-to-left mark: Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


From Wikipedia, the free encyclopedia

The right-to-left mark (RLM) is a non-printing character used in the computerized typesetting of bi-directional text containing mixed left-to-right scripts (such as English and Russian) and right-to-left scripts (such as Arabic and Hebrew). It is used to change the way adjacent characters are grouped with respect to text direction.

The RLM's Unicode symbol is U+200F, and can be represented in HTML as ‏ ‏ or ‏.

Example of Use in HTML

Suppose the writer wishes to inject a run of Arabic or Hebrew (i.e. right-to-left) text into an English paragraph, with an exclamation point at the end of the run on the left hand side. "I enjoyed staying -- really! -- at his house." With the "really!" in Hebrew renders as follows:

I enjoyed staying -- באמת! -- at his house.

With an RLM mark entered in the HTML after the exclamation mark, it renders as follows:

I enjoyed staying -- באמת!‏ -- at his house.

[Standards-compliant browsers will render the exclamation mark on the right in the first example, and on the left in the second]

See also

External links


Got something to say? Make a comment.
Your name
Your email address