VIM - Vi IMproved 7.0 (2006 May 7, compiled Nov 15 2006 16:24:17)
Included patches: 1-164



I don't normally use utf8, but I have a uxterm running on Linux.

If I copy and paste some UTF8 text from Firefox into Vim I see:

    Weeding for Your Library\u2019s Health
                            ^^^^^^^

But, pasting into the xterm it works fine.

That is, in my uxterm I do this (which works correctly):

    $ echo "Weeding for Your Library’s Health" > utf8-test

Where "Weeding..." was pasted into the xterm with my middle mouse
click.

Now in Vim I open utf8-test my screen looks fine and encoding? shows
"encoding=utf8":

Weeding for Your Library’s Health
~                                                                               
~                                                                               
~                                                                               
                                                              1,16          All

But, if I paste with my middle mouse button into Vim I get:

Weeding for Your Library’s Health
Weeding for Your Library\u2019s Health  <<<--- pasted line
~                                                                               
~                                                                               
~                                                                               
-- INSERT --                                                  2,18          Bot

What is it not pasting the utf8 character?

set mouse?  shows "mouse=a".


-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to