From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#4712: File encoding Date: Wed, 14 Oct 2009 11:07:30 +0200 Message-ID: References: Reply-To: Andreas Schwab , 4712@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255512542 5814 80.91.229.12 (14 Oct 2009 09:29:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 09:29:02 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 4712@emacsbugs.donarmstrong.com To: Elmar Zander Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 11:28:53 2009 Return-path: Envelope-to: geb-bug-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 1My08z-0007fd-Pd for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 11:27:42 +0200 Original-Received: from localhost ([127.0.0.1]:50342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My08y-0001vw-Sc for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 05:27:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My08b-0001q7-Sv for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 05:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My08X-0001pN-Nh for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 05:27:17 -0400 Original-Received: from [199.232.76.173] (port=60660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My08X-0001pA-IH for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 05:27:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36111) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1My08W-0002Jj-Qi for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 05:27:13 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E9RA3e030526; Wed, 14 Oct 2009 02:27:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9E9F8Bh028842; Wed, 14 Oct 2009 02:15:08 -0700 Resent-Date: Wed, 14 Oct 2009 02:15:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Andreas Schwab Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 14 Oct 2009 09:15:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4712 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4712-submit@emacsbugs.donarmstrong.com id=B4712.125551125627820 (code B ref 4712); Wed, 14 Oct 2009 09:15:07 +0000 Original-Received: (at 4712) by emacsbugs.donarmstrong.com; 14 Oct 2009 09:07:36 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E97YIT027817 for <4712@emacsbugs.donarmstrong.com>; Wed, 14 Oct 2009 02:07:36 -0700 Original-Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9E97Xn1003393; Wed, 14 Oct 2009 05:07:33 -0400 Original-Received: from hase.home (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9E97UED025752; Wed, 14 Oct 2009 05:07:31 -0400 X-Yow: I have a TINY BOWL in my HEAD In-Reply-To: (Elmar Zander's message of "Tue, 13 Oct 2009 11:12:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 14 Oct 2009 05:27:17 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31919 Archived-At: Elmar Zander writes: > my source file begins with the following lines > > #!/usr/bin/perl > # -*- coding: iso-8859-1 -*- > # > > I definitely need the latin-1 encoding here because the script is supposed > to do some non-standard translations from latin-1 to html entities. However, > whenever I try to save the file I get the message: > > Selected encoding mule-utf-8-unix disagrees with iso-8859-1-unix specified by file contents. > Really save (else edit coding cookies and try again)? (yes or no) That means that the buffer contains characters that cannot be encoded in iso-8859-1-unix. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."