Tuesday, May 24, 2011

Re: Character encoding in vim

On Thu, May 19, 2011 at 7:44 AM, Ben Fritz <fritzophrenic@gmail.com> wrote:
>
>
>
> Since there are two bytes being displayed I'm going to guess you're
> editing a UTF-8 encoded file with your encoding set to the default 8-
> bit encoding for your system (probably latin1).

I'm actually editing the output of running maven, so maybe it wrote it
out in UTF-8 format.

>
> You will need to set at least two options to let this work correctly:
>
> 'encoding'
> 'fileencodings'
>

When I type :set encoding? it says "option not supported". Maybe my
version of Vim wasn't built with unicode support?
How do I check if I have multi-byte support? Is there some easy way to
add it if it's not there, or do I have to rebuild vim?

Thanks,
Ven

> See the help for each, and also our current featured tip on the wiki,
> http://vim.wikia.com/wiki/Working_with_Unicode
>
> --

--
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

No comments: