Tuesday, February 23, 2010

Re: Within mlterm vim doesnt know arabic characters though it knows them in konsole

أَلسÙ'َلامُ عَلَيÙ'كُمÙ' وَرَحÙ'مَةُ ٱللÙ'ٰهِ وََبَرَكاتُهُ
السلام عليكم ورحمة الله وبركاته
On 22/02/10 13:26, Rudolf Bahr wrote:
>
> Hello All,
>
> it has just been discussed (in 2009), why 'vim' cannot present latin
> and arabic based words in right order in bilingual texts, as for
> instance 'gedit' can. In ':help arabic.txt' the use of 'mlterm' in
> combination with 'vim' is suggested.
>
> Though 'vim' knows arabic characters within konsole, in my mlterm
> environment it has forgotten about them and displays only empty
> rectangles in ':set arabic'-mode. Why?
>
> Please, is there an easy way to teach 'vim' (or 'mlterm'?) arabic
> in 'mlterm'-environment?
>
> Regards,
>
> Rudolf
>

Apparently the font chosen by your mlterm terminal doesn't include
Arabic glyphs. This is strange, because mlterm is a true-bidi terminal
('termbidi' should be set when you're using it) so it ought to know how
to display Hebrew and Arabic correctly even when mixed with Latin (what
gvim cannot do).

This is an mlterm problem, not a Vim problem, because Console Vim has
absolutely no control over which font-family to use in a terminal.

I don't know how to set the font in mlterm -- maybe you should make sure
that you have some Arabic monospace font(s) installed? or read the
mlterm manpage? -- but on my system, the attached two UTF-8 files
display perfectly in mlterm, in both Vim and cat, except that cat
displays the BOM as Z-over-N.


Best regards,
Tony.
--
Truth will be out this morning. (Which may really mess things up.)

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

No comments: