On Sun, 14 Jul 2019 at 10:50, ndame <emacsuser@freemail.hu> wrote:
Sometimes I have unprintable characters in the buffer which display with an
octal code (e.g. \232). instead of a character (text copied from elsewhere,
etc.) How can I find these without knowing the exact codes?
I'd like to find all such places in the buffer where a character appears with
an octal code, but I have UTF characters too in the buffer which display
properly, so using nonascii is not the answer.
(re-search-forward "[\x80-\xff]") seems to work, though it's a bit
awkward to enter interactively:
C-M-s [ C-x 8 RET 3fff80 RET - C-x 8 RET 3fffff RET ]