From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacs and UTF-8 Date: Fri, 29 Apr 2005 00:22:39 +0200 Message-ID: <76e0cf806e5d393e9bdbc9bbee2e825c@Web.DE> References: <1114710292.436403.218420@z14g2000cwz.googlegroups.com> <1114723995.031386.273860@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114727123 4417 80.91.229.2 (28 Apr 2005 22:25:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2005 22:25:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 00:25:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRHOV-0001sz-5D for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Apr 2005 00:22:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRHUh-0005bM-Uo for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2005 18:28:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DRHUP-0005ay-2k for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 18:28:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DRHUN-0005aZ-8q for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 18:28:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRHUM-0005P3-UH for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 18:28:07 -0400 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DRHTG-0000Wn-SQ for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 18:26:59 -0400 Original-Received: from [84.245.189.121] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #282) id 1DRHP7-0004RV-00; Fri, 29 Apr 2005 00:22:41 +0200 In-Reply-To: <1114723995.031386.273860@g14g2000cwa.googlegroups.com> Original-To: knubee X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26124 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26124 Am 28.04.2005 um 23:33 schrieb knubee: >> In case debian uses UTF-8 too for file names: keep that entry! > > Which one? (In fact, I think I appropriated many of those settings from > one of your earlier postings on this topic :-)) > (setq file-name-coding-system 'utf-8) On your Scheme experience: could be the Swedish text was the whole time correctly saved as UTF-8 since you made Emacs act like that. Only Guile was in the incorrect environment not able to detect and interpret the UTF-8 text. In the corrected environment Guile now could do it right. These eMail subjects "=?iso-8859-1?Q?Bj=" come from some RFC that describes how such a non-7 bit text is saved when transferred over the internet. Since mail is still a 7 bit application, because nobody can guarantee that there is absolutely no node that only understands 7 bit, such encoding has to be done. Our eMail, when it leaves the MUA, is encoded as base64 (Emacs can do that too, C-h a base64 RET). And decoded when it enters. Although I have saved eMails that contain lines like these From: =?iso-8859-15?Q?S=E9bastien?= Kirche Content-Type: text/plain; charset=iso-8859-15 To: Diskussionsliste =?iso-8859-1?Q?f=FCr_Mitglieder_von_DANTE_e=2EV=2E?= Mail-Followup-To: Diskussionsliste =?iso-8859-1?Q?f=FCr_Mitglieder_von_DAN?= =?iso-8859-1?Q?TE_e=2EV=2E?= Content-Type: text/plain; charset=iso-8859-1 Reply-To: =?iso-8859-1?q?Diskussionsliste_f=FCr_Mitglieder_von_DANTE_e=2EV=2E?= List-Id: =?iso-8859-1?q?Diskussionsliste_f=FCr_Mitglieder_von_DANTE_e=2EV=2E?= my Mac OS X eMail programme, just Mail(.app), hides that "header" and decodes the =XY codes according to the charset given to the correct glyphs (XY is just the hex value of the "ASCII" code of that glyph in that encoding). I think you only have to adjust some settings of your Mail User Agent. Or switch to another one! -- Greetings Pete Got Mole problems? Call Avogadro 6.02 x 10^23