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