Pasting copied text to vim encoding issue

Viewed 308

I copy some russian text from browser to vim then in insert mode pasting it via CTRL-R + * and getting a whole bunch of unreadable characters. I tried to set some fileencoding encoding and termencoding to utf-8 but that did not work.

My OS is Ubuntu 12.04 I use standard bash terminal The problem appears only in non-gui vim version.

these are my .vimrc settings:

  • set termencoding=utf-8
  • set encoding=utf-8
  • set fileencoding=utf-8
0 Answers
Related