Monday, April 16, 2012

pasting nonASCII characters into vim from clipboard

I am on Ubuntu and using Gnome Terminal 2.30.2

1. I copied following word "zużycia" from my Chrome browser (encoding
UTF-8) to clipboard.

2. then I pasted into my Vim (7.3.315) and pasted word appeared as
"zużycia"
:set enc => utf-8

3. when I paste the same word from 1. into Terminal (without opened
Vim) the word appears correct: "zużycia"

4. when I copy the pasted "zużycia" from the Terminal and then open
Vim and paste it there all is fine and pasted word appears as
"zużycia"

What can I check to find out the reason why direct copy from Chrome to
Vim is not working properly?

thanks,
Chris

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