'vimtutor ru' shows file with koi8-r charset in utf8 console
Bug #85902 reported by
Alexander Ilyashov
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Fix Released
|
Low
|
Micah Cowan | ||
Bug Description
Binary package hint: vim-common
I have installed xubuntu on my desktop with default console setting.
After running `vimtutor ru` in xfce terminal I saw ugly symbols thats looks like bad charset.
How I fix it:
cp /usr/share/
iconv -f koi8-r -t utf8 /usr/share/
after that text displays correct
description: | updated |
To post a comment you must log in.
I can't reproduce this problem in Feisty (vim-7. 0-164+1ubuntu7) . In particular, vimruntime has tutor.ru, tutor.ru.utf-8 and tutor.ru.cp1250 files, and seems to choose the correct ones based on the setting of the LANG environment variable ('enc' option in vim).
Is your LANG environment variable properly set to xx_XX.UTF-8 when you start vim, and can you verify that ":set enc?" gives "encoding=utf-8"?
Or, perhaps, you've been fortunate enough to see this fixed between Edgy and Feisty. :)