[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to scan file for non-ascii chars (eg cut-n-paste from ms-word)
From: |
Eli Zaretskii |
Subject: |
Re: how to scan file for non-ascii chars (eg cut-n-paste from ms-word) |
Date: |
Sun, 09 Jan 2011 19:30:29 +0200 |
> Cc: help-gnu-emacs@gnu.org
> From: Kenneth Goldman <kgoldman@us.ibm.com>
> Date: Sun, 9 Jan 2011 11:24:01 -0500
>
> query-replace works once one has found the non-ASCII character. However,
> it's often not obvious where the offending text is.
When Emacs asks you to select a suitable encoding, it highlights these
characters, so you can see where they are in the buffer.
> Is there a way to search for anything that isn't ASCII?
If the above is not enough, then try
M-: (skip-chars-forward "\000-\377") RET
Message not available