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

Steinar Bang <[email protected]>
Newsgroups gmane.emacs.psgml.user
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> [email protected] (Kai Großjohann):

> This is meaningless.  The m17n stuff in Emacs is called Mule.  Mule
> includes, as part of its functionality, support for Unicode.  (Only
> recent Mule versions.)

What's m17n?  That's a new one... hm... thanx google,
"multilingualization". 

> Maybe you meant the external Mule-UCS package. 

Yes.

> That's a different beast entirely :-)

I knew that, sort of.  What I didn't know was that the native Unicode
support of GNU Emacs 21, still used Mule.

In any case: on Friday, in GNU Emacs 20.7 with mule-ucs, I did `C-x
RET f utf-8 RET' in a PSGML buffer, typed the letter "æ", and then
`C-x C-s', and the file saved as an UTF-8 file.

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.



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
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.