Replacing unusual characters in vim.

I had a lot of


that needed to be just plain ” (double quote).

The 9d was actually in blue so it was one character with hex code 009d.
(If you type ga you get info about the character under the cursor.)

So, to search and replace you type:

:% s/â€



(which means Ctrl+V then the keys x 9 d)


and it works!