Shachar Shemesh wrote:

<quote>
All those who complained that they have never seen any inconsistancies
before are welcome to try the following experiment:

* In Windows, open notepad.
* Switch the keyboard to hebrew, but leave the context LTR (i.e. -
press alt-right shift).
* Type shift-0. Instead of ")", you will get "(".
* Type ">", "]", "}". In each time you will get a display that is
opposite from the char engraved on your keyboard.
* Press ctrl-right shift to switch notepad into RTL context.
* You will see that all of the characters you typed before, and
which before did not match the engraving on your keyboard, have
been reversed and now do.

<end of quote>

What does that prove?  Only that it is generally bad policy to lie to your 
computer.  Your switching to Hebrew is interpreted by the Bidi support in 
key mapping as an intention to type a RTL segment of text, but in fact you 
type LTR stuff.  You lied and you are rewarded accordingly.

<quote>
Someone once said that Windows' notepad
actually enforces this by adding LRM and RLM marks into the text, but I
have never seen that happen.
<end of quote>

Notepad does not add any characters that the user does not type.  Wordpad, 
on the other hand, does add LRMs and RLMs to make sure that neutral 
characters typed when the keyboard is in Latin mode are handled like LTR 
characters, and neutral characters typed when the keyboard is in Hebrew 
mode are handled like RTL characters.  This is acceptable for a word 
processor with an internal data format, not for a plain text editor, or as 
a general feature of Bidi support.



=================================================================
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