On 03/07/09 03:34, bill lam wrote:
>
> On Thu, 02 Jul 2009, Bram Moolenaar wrote:
>> I have never understood why people put the text in the wrong order in
>> the file and then change the order when displaying it.  The characters
>> should be in the file in the order they are displayed.
>
> IIUC that is what bidi mean. The text is in 'correct order' but
> displayed as bidi.  eg. numbers are ltr in arabic, in order to write
> the sentence 'year2009' in arabic on a piece of paper,
>    (pretending letters in arabic)
>              y
>             ey
>            aey
>           raey
>    (jump some space before writing number)
>       2   raey
>       20  raey
>       200 raey
>       2009raey
>

Well, I thought Bram meant that che characters should be in the file in 
the order

2
0
0
9
<space>
r
a
e
y

if it's a "LTR file", and in the order

y
e
a
r
<space>
9
0
0
2

if it's a "RTL file" (more probable for Arabic).


The Unicode standard (with which I agree for reasons outlined in my 
previous post, and I think you do too), is that they MUST be in the order

y
e
a
r
<space>
2
0
0
9

at least in a Unicode file. (IIUC, some legacy encodings may require one 
of the other two).


Best regards,
Tony.
-- 
"There is no reason for any individual to have a computer in their
home."
                -- Ken Olson, President of DEC, World Future Society
                   Convention, 1977

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to