My 'encoding' is set to utf-8

If I type the following in gvim:

        :map! Û Û

where the {lhs} is a Latin capital U-circumflex, it appears in the output of

        :map!

as

!       Ã   <xCSI>   &Ucirc;

(where the {lhs is represented by a capital A-tilde, some spaces, and the six 
characters <xCSI> ). If I redirect this listing (to @") then "put" it, the 
corresponding mapping appears as

!       <c3>   <xCSI>   &Ucirc;

where <c3> is one "invalid" character; then there are three spaces and the six 
characters <xCSI>

But it works! When (after defining this mapping) I hit (on my fr_BE keyboard, 
in Insert or Command-line mode) the dead-key circumflex followed by shift-u, I 
get &Ucirc;

I suppose there must be something strange happening when listing a mapping 
whose {lhs} includes U-circumflex, i.e., U+00DB, which is represented as 0xC3 
0x9B in UTF-8.

This is not a very severe bug (since the error is only in _listing_ the 
mapping, but there is no error in the _functioning_ of the mapping); it's just 
a minor annoyance.


Best regards,
Tony.
-- 
... A solemn, unsmiling, sanctimonious old iceberg who looked like he
was waiting for a vacancy in the Trinity.
                -- Mark Twain

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui