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

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

coding system


From: Stein A. Stromme
Subject: coding system
Date: Mon, 26 May 2003 11:58:21 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

I use iso-latin-1 as my default coding system (Emacs 21.3.50 from CVS.)

If I save the following contents (buffer in text mode) to a file:

    <?xml   ?>    ø

it gets saved just fine, with -1:-- in the mode line.

If I change it to

    <?xml   ?>

I'm able to save it with "nil" (?) encoding, with --:-- in the mode
line (using C-x RET f RET).

Now I change this to 
 
    <?xml "  ?>

and it still saves to --:--  .

Then the puzzle:  if I put back the ø, like this:

    <?xml "  ?>  ø

    Selected encoding iso-latin-1 disagrees with utf-8 specified by
    file contents.  Really save (else edit coding cookies and try
    again)? (y or n)

I answer y and the file gets saved with -1:-- , which is fine, but I
get this question each time the file gets modified and needs saving
again. 

What is going on here?  

Thanks for your time,
Stein 
-- 
Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt                www.mi.uib.no/stromme         
Johs Brunsg 12, N-5008 BERGEN           stromme@mi.uib.no


reply via email to

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