Saturday, November 3, 2012

Re: search and replace using a list of characters to replace

On 11/03/12 14:42, stosss wrote:
> Just trying to learn

Welcome aboard. We're a pretty friendly bunch here and are glad to
have you.

> Asking because I don't know and I don't use smart quotes. What makes
> them so difficult to remove in a s/search/replace/g ?
>
> Aren't they just quotation marks?

Depending on your encoding, they're more than one byte which makes
them slightly dependent on your 'encoding' and 'fileencoding'
settings, as well as how you might enter them into Vim (copy&paste
vs. using digraphs vs. typing some special character on your
keyboard like I do in X)

-tim


--
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

No comments: