Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CONVERSION ERROR in vim

Tags:

Adding set listchars=tab:▸\ ,trail:·,extends:#,nbsp:· line is causing "CONVERSION ERROR" while saving the vimrc file. I am using gvim 7.3 under Window 7.

I have added this character using ("▸") using ctrl-vu 25B8.

my vimrc file has also set encoding=utf-8

Is it possible to resolve this error.

Thanks

like image 219
Vivek Kumar Avatar asked Oct 10 '12 07:10

Vivek Kumar


1 Answers

Try saving with :w ++enc=utf-8. Also, it's recommended to put scriptencoding utf-8 at the top of your .vimrc.

like image 175
Ingo Karkat Avatar answered Sep 24 '22 13:09

Ingo Karkat