Sure, i confirm my gVim works in Unicode and i could input ŷ, €, ē, ë,
ÿ...freely and correctly. Unfortunately, some of them, including ŷ, €,
couldn't show well on gVim screen, as well as the result of ex-command
':dig'.  Certainly, all the characters inputted in my gVim displayed
correctly by Notepad/Winword.

i have done a test.  In my ~/.vimrc, have only the following 4-lines
content. However, it show a white box too in the corresponding
positions of ŷ, €., and show a '?', instead of a white box,  if remove
'colorscheme evening'

-------------~/.vimrc---------
set termencoding=utf-8
set encoding=utf-8
set fileencodings=utf-8
colorscheme evening

Is it related to my some default setting about regional and language
in Vista?  it's shouldn't like this.


Best Regards,
-William

On Sun, Jul 4, 2010 at 9:37 PM, Tony Mechelynck
<[email protected]> wrote:
> On 04/07/10 12:05, William Fugy wrote:
>>
>> Hi list,
>>
>>  In my gVim(Vista), could display ē, ë, ÿ correctly, couldn't display
>> ŷ, €. However, it's all OK in Notepad/WinWord.
>>
>>  Does anyone know how could i show it well?
>>
>> --------------------
>> i checked the digraph list ':dig',  the corresponding positions of ŷ/€
>>  show a white box( evening color scheme).
>>
>>
>> Best Regards,
>> -William
>>
>
> These symbols (as well as French Œ œ) are not present in the Latin1 charset.
> So:
>
> 1. Make sure your Vim is set up to use Unicode, see
> http://vim.wikia.com/Working_with_Unicode — and note that 'encoding' should
> only be changed at startup, before file data has been loaded in Vim memory
> and before defining any options, mappings, etc. with character values above
> 0x7F; otherwise the data already in memory may get corrupt.
>
> 2. Then you can enter these characters in Insert mode with one of the
> following methods:
>
> - directly, if your keyboard driver allows it:
>
> AltGr+e (usually) gives €
> dead-circumflex (if your national keyboard has one) then y gives ŷ
>
> - digraphs (see :help digraph.txt)
>
> Ctrl-K then = then e gives €
> Ctrl-K then y then > gives ŷ
>
> - Unicode codepoint (see :help i_CTRL-V_digit)
>
> Ctrl+V u 20ac (no spaces) gives €
> Ctrl+V u 0177 (no spaces) gives ŷ
>
> Of course, in order to save them to disk you will need a file with an
> appropriate 'fileencoding': UTF-8 is OK, ISO-8859-15 may or may not be OK (I
> haven't tested), Latin1 is not OK.
>
>
> Best regards,
> Tony.
> --
> A chubby man with a white beard and a red suit will approach you soon.
> Avoid him.  He's a Commie.
>

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

Reply via email to