Tony Mechelynck wrote:
> 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 Can you give a reference where Unicode specifies this? > 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). -- hundred-and-one symptoms of being an internet addict: 54. You start tilting your head sideways to smile. :-) /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
