Friday, December 27, 2013

Re: Saving a file in utf-8.

On Friday, December 27, 2013 8:47:34 PM UTC+1, wexfordpress wrote:
> I use Vim and gvim for all kinds of files. One
>
> file type has to be saved in UTF-8 format. How do
>
> I assure this?
>
>
>
> --
>
> John Culleton
>
> Wexford Press
>
> Free list of books for self-publishers:
>
> http://wexfordpress.net/shortlist.html
>
> PDF e-book: "Create Book Covers with Scribus"
>
> available at
>
> http://www.booklocker.com/books/4055.html

Something like this?

:h ftdetect

au BufRead,BufNewFile *.txt set fileencoding=utf-8

--
--
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/groups/opt_out.

No comments:

Post a Comment