From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Single unrecognized character wrecks entire display Date: Wed, 22 Aug 2012 11:01:04 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345647926 25667 80.91.229.3 (22 Aug 2012 15:05:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 15:05:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 17:05:27 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4CUi-0006ir-89 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 17:05:20 +0200 Original-Received: from localhost ([::1]:38025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4CUg-00057Y-J2 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 11:05:18 -0400 Original-Received: by 10.68.228.227 with SMTP id sl3mr3298429pbc.5.1345647665307; Wed, 22 Aug 2012 08:01:05 -0700 (PDT) Original-Path: usenet.stanford.edu!4no7419535pbn.1!news-out.google.com!a8ni1447970pbd.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe15.iad.POSTED!00000000!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Cancel-Lock: sha1:dGBaiyemwphHZqbjxyQit0n5evs= Original-Lines: 14 Original-X-Complaints-To: abuse@UsenetServer.com Original-NNTP-Posting-Date: Wed, 22 Aug 2012 15:01:04 UTC X-Received-Bytes: 1191 Original-Xref: usenet.stanford.edu gnu.emacs.help:194108 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86474 Archived-At: > 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