[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Single unrecognized character wrecks entire display
From: |
Stefan Monnier |
Subject: |
Re: Single unrecognized character wrecks entire display |
Date: |
Wed, 22 Aug 2012 11:01:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> Is there a way to quickly spot the offending character within Emacs in
> such cases?
Good question. Please send it as a feature request via
M-x report-emacs-bug.
As for an answer, it might be that C-x RET r utf-8 RET might do the
trick (basically, the single offending byte caused Emacs to decide that
the file is not using utf-8 and read it as a binary file; so by
forcing the use of utf-8 you should get all the utf-8 encoded chars to
appear correctly and the invalid byte to appear as \234).
Stefan
Re: Single unrecognized character wrecks entire display,
Stefan Monnier <=