Bram Moolenaar wrote:
Valery Kondakoff wrote:
The text in Russian language is displayed in wrong encoding in GUI tab page
labels. (gVim 7.0e beta) The same filename is displayed correctly in gVim
window title, is statuds line and in the footer. Here is a screenshot to
illustrate the problem:
http://www.nncron.ru/temp/vimtab.png
Here are my encoding-related settings:
set encoding=utf-8 " internal encoding for GVim
set fileencoding=cp1251 " default encoding for a newly created files
set fileencodings=ucs-bom,utf-8,cp1251,cp866,koi8-r " GVim can convert text
between these encodings
set printencoding=cp1251 " encoding for printing
set printmbcharset=cp1251
set guifont=courier_new:h11
set keymap=russian-jcukenwin " installed keymap (you can switch it in Insert
or Command mode using 'C-^
Is this with GTK? Then I can reproduce it and fix it. The text needs
to be converted from 'encoding' to utf-8.
For MS-Windows this probably also needs to be done, but I don't see an
obvious way to do it.
Looks like Windows to me. courier_new:h11 is a Windows font specification.
You should convert UTF-8 into UCS-2 - this is an encoding that is used
by Windows *W API.
Also, file names are held in 'encoding' internally by Vim IIRC.