'vimtutor ru' shows file with koi8-r charset in utf8 console

Bug #85902 reported by Alexander Ilyashov
2
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Fix Released
Low
Micah Cowan
Nominated for Edgy by Alexander Ilyashov
Nominated for Feisty by Alexander Ilyashov

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/vim/vim70/tutor/tutor.ru /usr/share/vim/vim70/tutor/tutor.ru.koi8-r
iconv -f koi8-r -t utf8 /usr/share/vim/vim70/tutor/tutor.ru.utf8 > /usr/share/vim/vim70/tutor/tutor.ru

after that text displays correct

description: updated
Revision history for this message
Micah Cowan (micahcowan) wrote :

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. :)

Changed in vim:
assignee: nobody → micahcowan
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
Alexander Ilyashov (ilyashov) wrote :

>> Or, perhaps, you've been fortunate enough to see this fixed between Edgy and Feisty. :)

Yes! Everything ok in Feisty now!

Revision history for this message
Micah Cowan (micahcowan) wrote :

Terrific!

Changed in vim:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.