On 13/09/12 22:21, skeept wrote:
On Thursday, September 13, 2012 3:56:56 PM UTC-4, Tony Mechelynck wrote:
On 13/09/12 19:57, MC Andre wrote:
I can copy and past the Unicode Delta symbol (οΏ½) in a normal Command Prompt
window.
Can't your mailer read ISO-8859-7 as set in the Content-Type header,
André? I'll send this one in UTF-8 then.
I can copy and past ASCII Roman alphabetic text in vim and gVim.
But I can't paste the Unicode Delta symbol (οΏ½) into vim nor gVim.
Specs:
* gVim 7.3
* Windows 7 Professional x64
I just pasted it from your mail into my running gvim (7.3.661 Huge with
GTK2-GNOME2 GUI), and ga over it gives me:
<οΏ½> 916, Hex 0394, Octal 1624
So the next question is: What is your 'encoding' set to? Type
:verbose set encoding?
and see what the answer is. If it is latin1 or cp1252, or indeed any
8-bit encoding other than a Greek one, the reason you can't paste the
delta sign is that you haven't set gvim to be able to represent it in
memory. In that case, see
http://vim.wikia.com/wiki/Working_with_Unicode
about how to set gvim to work in UTF-8 (which can represent anything
that any other encoding can represent) and remember that any change to
'encoding' must happen in your vimrc, before any editfile is loaded,
otherwise the files which _are_ already loaded at the time of the change
will become garbled.
Best regards,
Tony.
--
All things are possible, except skiing thru a revolving door.
[repeat snipped]
You may also have to choose a font that supports these characters.
In the font I am currently using type ctrl-k *a (ctrl-k followed by * followed
by a) should show the greek letter alpha but instead it shows only a little
square.
Yes indeed. That is mentioned in the "Additional remarks" section on the
"Working with Unicode" wiki page I mentioned.
The font currently set in my gvim instance is Bitstream Vera Sans Mono,
and it has no problem with the delta character; it can also display
Latin, Greek, Cyrillic, Arabic, and others that I haven't tried; indeed
it has quite a wide charset repertoire. But I don't know if it is
available for Windows. If it isn't, see if you can get DejaVu Sans Mono
which is similar. And otherwise…
On Windows, IIRC "Courier New" has glyphs for many charsets, though it
isn't very pretty; OTOH "Lucida Console" had Cyrillic bold glyphs which
were (when I was on Windows) one pixel wider than its unbold glyphs, and
that wreaked havoc in Vim's display whenever I used both kinds on one
line. I didn't try it with Greek.
Best regards,
Tony.
--
Coward, n.:
One who in a perilous emergency thinks with his legs.
-- Ambrose Bierce, "The Devil's Dictionary"
--
You received this message from the "vim_dev" 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