How to search and replace an unprintable character
Posted
by krzyk
on Stack Overflow
See other posts from Stack Overflow
or by krzyk
Published on 2010-05-09T16:54:32Z
Indexed on
2010/05/09
16:58 UTC
Read the original article
Hit count: 190
vim
I've a file that was exported from Word and it replaced all quotes with strange unicode characters which aren't correctly displayed in vim. So now I want those characters to be replaced with quotes, but I don't know how to enter this character in
:%s/???/'/g
The characters look like this: ~U ~R. But of course I can't just mark them with mouse and paste in the command.
© Stack Overflow or respective owner