[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arabic & Vim-6.0 patch



Nadim,
I don't know how the data is organized internally in VIM. But I suppose you
have in hand what you can delimit as paragraphs. I suggest you use fribidi.
Computing the visual string using bidi is trivial. You have a maximum of three
function calls in order to do it:
conversion from your charset to UCS-4,
Reordering your paragraph/text using the reordering function,
converting the UCS-4 to your charset,

Regards,
Chahine