help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get rid of Microsoft dumb quotes, e.g. \222 for apostrophe?


From: Stefan Monnier
Subject: Re: How to get rid of Microsoft dumb quotes, e.g. \222 for apostrophe?
Date: Mon, 19 Feb 2007 21:00:19 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

>   (replace-string "—" "--" nil (point-min) (point-max)) ; multi-byte
[...]
> Also, multi-byte strings such as the first should be toward
> the top of the list so that single-byte replacements don't
> cut them up, making subsequent searches for them impossible.

Huh?  There is no overlap between the single-char string "—" and the single
char strings like "\221".  You can reorder them all you like.

I'm not sure what you mean by "multi-byte", but it sounds like there might
be some confusion here.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]