emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Defaut encoding for XML files should be undefined (instead


From: Stephen J. Turnbull
Subject: Re: 23.0.60; Defaut encoding for XML files should be undefined (instead of utf-8)
Date: Sat, 16 Feb 2008 16:17:13 +0900

Stefan Monnier writes:

 > The OP's file is *not* an XML document.  The XML document is generated
 > from various parts, including this file.  This is very similar to the
 > LaTeX \usepackage[XXX]{inputenc} which is only placd in the root file,
 > but not in the files included from that one.

Man, don't go there.  XML documents *and fragments* should be presumed
Unicode until the user explictly says otherwise.  Make it easy for the
user to do that, make it as easy as you like (eg, with a variable
containing the regexp ".*\.xml$"), but don't try to guess until the
user asks you to, please.





reply via email to

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