[Top][All Lists]

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

Re: MULE shows gibberish; now what?

From: Stefan Monnier <address@hidden>
Subject: Re: MULE shows gibberish; now what?
Date: 29 Sep 2002 16:13:07 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> Actually, coding-category-utf-8 is the last element in the list,
> but placing it first, or even letting coding-category-utf-8 be the
> only element in coding-category-list doesn't help.  The buffer
> still ends up as "Unibyte no-conversion buffer".

`coding-category-list' is misleading: it should probably be read-only,
because it should only be modified via functions like `prefer-coding-system'
or `set-coding-priority' (which update internal data that's then reflected
in `coding-category-list').

I use (prefer-coding-system 'utf-8) and it works.  I also tried
(prefer-coding-system 'utf-8-unix) and it worked as well, so there
must be something else at play in your .emacs.

Note that setting LANG to <foo>.UTF-8 works as well and should
be the preferred way to set those kinds of things, although I seem
to remember that Emacs-21.[12] specifically ignores it because the
utf-8 support is considered too poor in those versions.


reply via email to

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