Yakov Lerner wrote:
[...]
I wonder now how do I add to vimrc this setting that vim
wants to be set before vimrc ? ( the 'set enc=utf8' setting) ?:-)
Do you  know why exactly 'set enc=utf8' in vimrc is ignored ?
Looks like a bug to me ....

Not sure, but the order of lines within the vimrc sometimes matters. For instance, messages language (":language messages fr_BE" etc.) must be set before sourcing the vimrc_example (or before "filetype on" and "syntax on").


My problem is that I really want LANG to be C, on this stage.
I could make sciprt or alilas utfvim with this --cmd 'enc=utf8'',
but this  does not seem convenient. Is this s bug in vim ?

Besides, I see another weird problem. Width of lowercase
russian letters is smaller than width of uppercase Russian letters
Lucida Typewriter). This is strange because this is definitely monospace
font. But this is not vim issue, the same width difference apepars in konsole
without vim.

Thanks Tony,

Yakov


That is a bug, not in Vim but in the Lucida font. Also under Windows, bold cyrillic Lucida_Console glyphs are slightly wider than the Latin glyphs of the same font. When editing Russian in gvim, I use some more "well-behaved" font such as "Courier New" (Courier it's not as pretty as Lucida, but it has strictly fixed-width glyphs for at least Latin [all locales], Cyrillic and Arabic). You might want to hunt through the Unicode fonts available for konsole on your system; I suppose that at least one of them will be "really" monospace even in Cyrillic.

BTW, here is a "full" modern-Russian alphabet, including the few letters you left out in your example but still not including stress-marked vowels (with acute accent):

АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ
абвгдеёжзийклмнопрстуфхцчшщъыьэюя

(As you probably know, other letters exist in other variants of the Cyrillic alphabet, such as pre-1917 Russian, Yugoslav, etc.)


Best regards,
Tony.

Reply via email to