Tony Mechelynck wrote:

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

Yes, this looks like listing the mapping isn't done correctly.  I'll put
it in the todo list.

-- 
A special cleaning ordinance bans housewives from hiding dirt and dust under a
rug in a dwelling.
                [real standing law in Pennsylvania, United States of America]

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui