> 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.
I forgot:
1bis: Make sure you have a font with the necessary glyphs. For gvim, see
http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI . For Console Vim,
it's a terminal-configuration problem, not a Vim problem.
>
> 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.
--
Reclaimer, spare that tree!
Take not a single bit!
It used to point to me,
Now I'm protecting it.
It was the reader's CONS
That made it, paired by dot;
Now, GC, for the nonce,
Thou shalt reclaim it not.
--
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