From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Torda Newsgroups: gmane.emacs.help Subject: Reading non-ascii characters, recognise an encoding Date: 12 Sep 2002 14:05:55 +1000 Organization: Australian National University Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031804167 30594 127.0.0.1 (12 Sep 2002 04:16:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 04:16:07 +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 17pLOf-0007xJ-00 for ; Thu, 12 Sep 2002 06:16:06 +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 17pLOk-0005s8-00; Thu, 12 Sep 2002 00:16:10 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-NNTP-Posting-Host: 150.203.35.110 X-Original-NNTP-Posting-Host: 150.203.35.110 Original-X-Trace: clarion.carno.net.au 1031803444 150.203.35.110 (12 Sep 2002 14:04:04 +1000) Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!msc1.onvoy!ply1.onvoy!upp1.onvoy!onvoy.com!news-out.visi.com!hermes.visi.com!news1.optus.net.au!optus!clarion.carno.net.au Original-Xref: nntp.stanford.edu gnu.emacs.help:104786 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:1341 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1341 I sometimes have trouble (maybe always) reading mail from some Europeans with their representation of non-ascii characters. Typically, a word looks like f=FCr whereas they intend it to look like fur with two dots (umlaut) over the "u". Their mail header says that the message is iso-8859-1 encoding, so I read all the info pages and tried every command I could find which would force the buffer to that encoding. It does not seem to make any difference. I found an info page which suggested I should add a line at the top of the file, like -*-coding: iso-8859-1-*- but closing and re-visiting the file did not seem to help. Less important is that their mailer puts an equals "=" sign at the end of every line. I suspect this is part of their machine trying to encode the message. Is there any correct command that can persuade emacs to eat all the =XX type representations and convert them to something more readable ? This is happening with emacs 21.1. Many thanks Andrew Torda