http://qs321.pair.com?node_id=663687


in reply to Re: "Unrecognized character" stops perl cold
in thread "Unrecognized character" stops perl cold

Yes, thanks, you put me right onto "the" answer for my work enviroment.

In your vimrc, put

vmap ,qq :%s/’/'/g<CR> nmap ,qq :%s/’/'/g<CR>
where the first quote is entered as a digraph: Ctrl-V Ctrl-K '9.

At that point "comma q q" is mapped in vim to replace all the bad fancy quotes with good single quotes.