From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kj Newsgroups: gmane.emacs.help Subject: Re: How to determine encoding for file? Date: Mon, 25 Jan 2010 14:55:06 +0000 (UTC) Organization: none Message-ID: References: <87y6jn2mgd.fsf@hubble.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1264480001 15346 80.91.229.12 (26 Jan 2010 04:26:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jan 2010 04:26:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 26 05:26:34 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NZd0a-0001KZ-PQ for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jan 2010 05:26:32 +0100 Original-Received: from localhost ([127.0.0.1]:51715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZd0b-0005NW-Ph for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jan 2010 23:26:33 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader1.panix.com 1264431306 24553 166.84.1.2 (25 Jan 2010 14:55:06 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 25 Jan 2010 14:55:06 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.7.3 Original-Xref: news.stanford.edu gnu.emacs.help:176367 X-Mailman-Approved-At: Mon, 25 Jan 2010 23:24:09 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71463 Archived-At: Pascal, Tomas, many thanks for your comments and suggestions! I eventually resorted to a brute-force solution: I created many copies of a fragment of the file, with a different -*- coding: ??? -*- line at the top, and opened all these copies in Emacs. Then I scanned all of them using *Buffer List*. Dumb but effective. ~K