Tuesday, October 11, 2016

Re: How gVIM can handle UTF like notepad

now I inserted the lines below in my _vimrc.
it works well, although the message
converted
appears.
I detected, that VIM allways append a
0D 0A
at the end, if there wasn't such,
solved with
set nofixendofline

Erhy

if has("multi_byte")
echomsg "has MULTIBYTE"
if &termencoding == ""
let &termencoding = &encoding
endif
setglobal encoding=utf-8
set encoding<
setglobal fileencoding=utf-8
set fileencoding<
setglobal bomb
set bomb<
setglobal fileencodings=ucs-bom,utf-8,latin1
set fileencodings<
endif

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: