Re: Processing chars above \200
Eli Zaretskii <[email protected]> Thu, 20 Sep 2018 23:43:35 +0300
| Newsgroups | gmane.emacs.windows |
|---|---|
| Message-ID | <[email protected]> |
> Date: Thu, 20 Sep 2018 12:00:21 -0400 > From: John J. Xenakis <[email protected]> > Cc: [email protected] > > If I do this: > > >>> (query-replace-regexp "[\220-\225]" "XXX") > > it does NOT work at all, and replaces nothing. ??????? > > What I want to do is find and optionally replace a range of characters > from \200 to \277. How do I do that? Why do you insist in using octal escapes instead of using the corresponding Latin characters literally? What characters do you need to replace and why? I suspect those are raw bytes and not real characters, but I don't want to guess. IOW, please give us some more context of your real-life problem. Then we might be able to help you more efficiently.