Re: Automatically setting the coding system to utf-8?

[email protected] (Kai Großjohann)
Newsgroups gmane.emacs.psgml.user
Organization University of Duisburg, Germany
Message-ID <[email protected]>
Steinar Bang <[email protected]> writes:

> Do you have any idea about how to trigger this coding system
> automatically, based on the encoding pseudo attribute in the <?xml?>
> PI? 
>
> I know it can be done by setting the file variable "coding", but
> I'd rather avoid that, since the neccessary information's already
> present in the file.

You would have to hack the C source to do this.  Maybe the CVS
version of Emacs does it already, I'm not sure.

Anyhow, doing

<?xml version=... encoding=...?><!-- -*- coding: ... -*- -->

isn't too bad.

-- 
This line is not blank.



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.