bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4712: File encoding


From: Andreas Schwab
Subject: bug#4712: File encoding
Date: Wed, 14 Oct 2009 11:07:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Elmar Zander <ezander@valkyrie.sc.cs.tu-bs.de> 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."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]