On Sun, 1 Sep 2002, Ilya Konstantinov wrote:

> On Sat, Aug 31, 2002 at 10:40:17PM +0300, Tzafrir Cohen wrote:
> > What about text messages?
>
> There is no standard for setting a text/plain message's directionality.
> I think the RFC says its to be determined from the first strong
> character or something like that. (We can actually use RLE and LRE to
> keep the intention of the text, but we cannot force the alignment.)
>
> > Is it possible to force directionality by beggning a document/paragraph
> > with RLM/LRM ? Is it wise?
>
> Why won't you check whetherMoz follows the "first strong character"
> standard for plaintext mail? And whether it considers RLE to be a
> strong RTL character?
>
> > Is it possible to distribute a "bidi mozilla" patch that will include them
> > all for the purpose of testing?
>
> My addition is not a patch. It can be perfectly well packed into an XPI
> once I learn how to do it :)
>
> > > One feature I'd like to add myself, or have one of you add, is to allow
> > > making a whole selection Left-to-right or Right-to-left.
> >
> > What for?For visual Hebrew?
>
> No, for cases where you want to override the directionality for a piece
> of selected text, e.g. in RLE text:
>
> Visual C++ ZE MEHADER.
>
> would be written as:
>
> REDAHEM EZ ++Visual C
>
> or something of that sort. In that case, I'd select the whole "Visual
> C++" piece and LRE it.

Or place an LRM after the ++ .

Adding embedding chars into text can have nasti effects if one of the
chars accidentally gets removed.

>
> (If I'd be allowed to dream on, I'd do something like what Microsoft's
> RichText editor does and insert the LRE automatically, judging from
> the position my cursor was in while I typed "++" -- which in turn
> depends on the keyboard language being LTR or RTL. I'll explain it
> further if you want.)

But you'll have to have different *text* editors agreeing on how to add
those characters. Otherwise each editor will add it in a different way,
and there will be a mess.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to