Vim Visual wrote:
Hi,

is there a way to remove all those strange symbols (and substitute
them with proper caracters) you get when you select a text section
from a pdf file and try to paste it into a vim file?

The "fi" and " ` " etc are unknown to vim and it refuses to paste them...

For instance:

- efficient

- "K"

Try to copy and paste them into a vim file...

Pau



What do you have 'encoding' set to? If it is set to Latin1, try adding the following to your vimrc:

        if (&enc !~? '^u') && (&tenc == '')
                let &tenc = &enc
        endif
        set enc=utf8
        setglobal bomb


Best regards,
Tony.

Reply via email to