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

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

Re: coding system


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

[lawrence mitchell]

| Emacs thinks the buffer is an XML file.  The XML spec states
| that any XML document which does not explicitly specify its
| coding system in its opening line.   e.g.
| <?xml version="1.0" encoding="iso-8859-1" ?> for latin-1 should
| be taken to be encoded as UTF-8.  As such, Emacs tries to do the
| right thing, and ensure that the document is saved as UTF-8.
| 
| To avoid the questioning regarding the coding-system, either,
| specify the coding-system in the <?xml ?> declaration, or save
| the file as UTF-8.

Thanks for the explanation.  In reality, the file is automatically
generated (by blogmax.el), so I'll have to go digging for the right
spot!

Btw, is the time (and Emacs) ripe now for going utf-8 as default?
What are the pros and cons?  (Apologies if this is off-topic.)

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]