<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0.2cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
<div class="moz-cite-prefix">On 06/25/2012 01:42 PM, Dotan Cohen
wrote:<br>
</div>
<blockquote
cite="mid:CAKDXFkMHcjMbn7QF347XXd7PjYLm83Ahd-kpquT8HpxbX3LYVw@mail.gmail.com"
type="cite">
<pre wrap="">On Mon, Jun 25, 2012 at 8:06 AM, Shachar Shemesh <a class="moz-txt-link-rfc2396E" href="mailto:shachar@shemesh.biz"><shachar@shemesh.biz></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I disagree completely. The embedding control characters are designed for,
well, embedding.
</pre>
</blockquote>
<pre wrap="">
Correct.</pre>
</blockquote>
Good. But<br>
<blockquote
cite="mid:CAKDXFkMHcjMbn7QF347XXd7PjYLm83Ahd-kpquT8HpxbX3LYVw@mail.gmail.com"
type="cite">
<pre wrap=""> As plain text has no concept of a paragraph,</pre>
</blockquote>
Well, that really depends on what you mean by "plain text". RLE/PDF
are defined by the UBA (Unicode BiDi Algorithm), and it, clearly,
does have a concept of a paragraph.<br>
<blockquote
cite="mid:CAKDXFkMHcjMbn7QF347XXd7PjYLm83Ahd-kpquT8HpxbX3LYVw@mail.gmail.com"
type="cite">
<pre wrap=""> using \n, \n\n,
\r\n, \r\n\r\n, or any other convention for a paragraph is arbitrary.</pre>
</blockquote>
Technically true, but both irrelevant and misleading. Misleading
because the choice of \n or \r\n was arbitrary, but is now standard.
Irrelevant because we are talking about the UBA, not "plain text"
(whatever that means).<br>
<blockquote
cite="mid:CAKDXFkMHcjMbn7QF347XXd7PjYLm83Ahd-kpquT8HpxbX3LYVw@mail.gmail.com"
type="cite">
<pre wrap="">
So if any arbitrary part of the text is to be RTL (no matter if the
user calls it a paragraph or not) then it is to be marked as an
embedded RTL section.</pre>
</blockquote>
This is incorrect. It does not matter much what the user calls a
paragraph, but if the <i>text editor</i> calls a certain run a
paragraph, then that is the case.<br>
<br>
You make it sound as if, in the sequence "something <RLE> more
something \n even more <PDF>", the third part, saying " even
more" will have an RTL level. That will simply not be the case with
any UBA conforming text editor, as UBA specifically says that any
embedding levels are reset when the paragraph is terminated. This is
because the embedding controls are <b>embedded</b> in the
paragraph.<br>
<br>
In other words, a paragraph is a paragraph, with BiDi direction, and
embedding is embedding. The two are not the same.<br>
<br>
Shachar<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>