Re: GVim doesn't display Euro symbol ?
- On 31/07/12 06:44, Dominique Pellé wrote:
> Lucas Sanner wrote:Vim gets its "language" settings from the OS locale at startup. On
> The 1252 there indicates that your locale is not using
> Unicode but it's using the Windows code page 1252:
> I don't know why Gvim on windows uses Windows code page
> by default and not Unicode. It's annoying. Is it Windows fault or
> Vim fault? I'm also surprised that I don't see LC_MESSAGES=...
> I remember that I had the same problem on Windows XP,
> and that for me setting the LANG env variable to fr_FR.UTF-8
> worked. I'm not sure why it's not working for you and I don't have
> a Windows machine to try again.
> I found this http://superuser.com/questions/207264/gvim-utf-8-in-windows
> which describe the same problem. The solution seems to
> be to install libiconv (iconv.dll) as described in above link.
> See also:
>>> :verbose set enc?
> That's good at least.
> By the way, you never indicated what version of Vim you're using.
> (output of :version)
> -- Dominique
Linux, this usually means one of
etc., so Vim uses UTF-8 by default there. But on Windows, typical
locales are things like
etc., and therefore Vim doesn't use UTF-8 by default on Windows. See
about how to tell Vim near the top of your vimrc that you want it to use
UTF-8 rather than the OS locale. Similarly, if you want messages and
menus in English rather than in the OS locale language, you would use
lang mess C
lang mess en
near the top of your vimrc (Windows knows nothing about the C locale,
which is recognized on all POSIX installations).
Go 'way! You're bothering me!
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