From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier " Newsgroups: gmane.emacs.help Subject: Re: MULE shows gibberish; now what? Date: 29 Sep 2002 16:13:07 -0400 Organization: Yale University Sender: help-gnu-emacs-admin@gnu.org Message-ID: <5lsmzslfl8.fsf@rum.cs.yale.edu> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033331809 26207 127.0.0.1 (29 Sep 2002 20:36:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Sep 2002 20:36:49 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17vko4-0006oY-00 for ; Sun, 29 Sep 2002 22:36:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17vkoI-0001Oy-00; Sun, 29 Sep 2002 16:37:02 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.ycc.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: rum.cs.yale.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 29 Sep 2002 16:13:07 -0400, rum.cs.yale.edu Original-Xref: nntp.stanford.edu gnu.emacs.help:105504 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2050 > 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 .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. Stefan