Monday, July 30, 2012

Re: GVim doesn't display Euro symbol ?

Lucas Sanner wrote:

>> :language
> "LC_COLLATE=French_France.1252;LC_TYPE=C;LC_MONETARY=French_France.
> 1252;LC_NUMERIC=C;LC_TIME=French_France.1252"

The 1252 there indicates that your locale is not using
Unicode but it's using the Windows code page 1252:

http://en.wikipedia.org/wiki/Windows-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:
http://stackoverflow.com/questions/9591813/what-do-vims-iconv-dll-and-libintl-dll-do

>> :verbose set enc?
> encoding=utf-8

That's good at least.

By the way, you never indicated what version of Vim you're using.
(output of :version)

-- Dominique

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

Post a Comment