Tuesday, April 17, 2012

Re: pasting nonASCII characters into vim from clipboard

Christian Brabandt wrote:

> On Tue, April 17, 2012 08:33, krzysztof cierpisz wrote:
>> 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?
>
> That is a known issue, that is in the todo list.
> :h todo and search for chrome


I just tried to copy/paste from Chrome into Vim and it worked for me.
I have:

:set enc=utf-8
:set fenc=utf-8

I used:
- chromium-17.0.963.79 on Ubuntu-10.04 (x86) and
- vim-7.3.495

-- Dominique

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