From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Bretfeld Newsgroups: gmane.emacs.help Subject: Re: Customizing coding priority Date: Wed, 17 Jan 2007 21:38:07 +0100 Message-ID: <17838.35119.209884.799665@relwi-sven.unibe.ch> References: <17837.26945.133317.830421@kamaloka.dhatu> <17837.55152.906774.97483@relwi-sven.unibe.ch> Reply-To: sven.bretfeld@gmx.ch NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1169066316 21416 80.91.229.12 (17 Jan 2007 20:38:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2007 20:38:36 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 17 21:38:33 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H7HYG-0003eX-KM for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2007 21:38:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7HYH-0007dc-5b for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2007 15:38:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7HY0-0007aj-5J for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 15:38:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7HXx-0007Xq-44 for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 15:38:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7HXw-0007XU-VC for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 15:38:13 -0500 Original-Received: from [130.92.9.70] (helo=mailhub03.unibe.ch) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H7HXv-0001Bd-BL; Wed, 17 Jan 2007 15:38:11 -0500 Original-Received: from localhost (scanhub02.unibe.ch [130.92.5.62]) by mailhub03.unibe.ch (Postfix) with ESMTP id 0AD0CB6A42; Wed, 17 Jan 2007 21:38:09 +0100 (CET) X-Virus-checked: by University of Bern Original-Received: from mailhub03.unibe.ch ([130.92.9.70]) by localhost (scanhub02.unibe.ch [130.92.5.62]) (amavisd-new, port 10024) with LMTP id K6+E-ahs7GEC; Wed, 17 Jan 2007 21:38:06 +0100 (CET) Original-Received: from theblade.unibe.ch (theblade-eth0.unibe.ch [130.92.4.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub03.unibe.ch (Postfix) with ESMTP id 062BDB66D3; Wed, 17 Jan 2007 21:38:07 +0100 (CET) Original-Received: from relwi-sven.unibe.ch (relwi-sven.unibe.ch [130.92.194.51]) by theblade.unibe.ch (Postfix) with ESMTP id 97F4CE240A2; Wed, 17 Jan 2007 21:37:58 +0100 (CET) Original-To: sven.bretfeld@gmx.ch In-Reply-To: <17837.55152.906774.97483@relwi-sven.unibe.ch> X-Mailer: VM 7.19 under Emacs 21.4.1 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:40400 Archived-At: >> The last line outside the citation just containes three German umlauts >> (I use this example for testing). The broken characters in the >> citation are umlauts too. The headers of these replies say text/plain; >> iso-2022-jp was the Content-type. I've tried C-x RET iso-8859-15 as >> well as Peter's suggestion M-x prefer-coding-system iso-8859-15. But >> the problem is still exactly the same. What else can it be? > How did you insert those umlauts, exactly? And what does Emacs > display if you go to one of those characters and type "C-u C-x ="? I've already tried this today. It's quite interesting. The umlauts in the quotations are displayed in a font different from the rest (somewhat smaller and bolder). They are said to be part of the iso-8859-15 charset when I type C-u C-x = (just as expected). All other characters are plain (ASCII (ISO646 IRV)). When I add my own text after the quotation all umlauts I type belong to latin-iso8859-1. When I send this text it is destructed again. Then I found out that, if I yank umlauts from the quotation to my own text (instead of typing them myself), the sent message stays intact and is displayed fine after receiving it again, albeit the Content-type header says "charset unknown". To my understanding this means that Emacs is unable to translate umlauts belonging to iso-8859-15 to the default charset I use for umlauts when writing replies, i.e. iso-8859-1. Therefore the umlauts in quotations are kept untranslated in the coding system of the original sender, i.e. iso-8859-15. This mixture of iso-8859-15 in quotations and iso-8859-1 in my part seems to disturb Emacs so that it encodes the entire umlauts of my reply as iso-2022-jp when sending it. So I've tried to avoid iso-8859-1 completely in replies and use umlauts belonging to iso-8859-15 also for my own part of the text. But this doesn't work for any reason. I've tried to change the coding system and the input method of the reply buffer manually to iso-8859-15 (using C-x f RET and C-x RET C-\) but umlauts I type always come as iso-8859-1. By the way, I also tried to start Emacs with an almost empty .emacs file. The problem stays. So it seems not to depend on any user specific configuration. It's really strange. Can it be a simple bug in vm? But it seems to work for other people. Thanks for your help Sven (Sorry that I have destroyed the threading. I received Eli's last message on another account while experimenting with my problem. I forgot the keep option in fetchmailrc and had to copy and paste the message.)