On Dec 7, 11:22 am, Tom Link <[email protected]> wrote: > > The text contains some latin characters like á é í ó ú etc, and all > > these show up in vim (in linux) as their hex codes (for example, á > > appears as <e1>) > > :set encoding? > > utf-8 > > The string from windows is probably encoded in the respective windows > codepage. You could try to use iconv() to convert the string before > pasting it in a instance of vim where enc is utf8. >
Or what about setting the fenc of the buffer to which you are pasting, to the "respective windows codepage"? What is your 'fenc' value? Shouldn't Vim be able to handle converting to utf-8 from whatever the clipboard uses without intervention? -- 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
