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 23:44:42 +0100 Message-ID: <17838.42714.915656.255057@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 1169073911 16870 80.91.229.12 (17 Jan 2007 22:45:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2007 22:45:11 +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 23:45:07 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 1H7JWe-0003I7-Ib for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2007 23:45:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7JWf-0007Ix-4q for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2007 17:45:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7JWS-0007Gy-V3 for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 17:44:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7JWS-0007G3-9H for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 17:44:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7JWS-0007Fs-6G for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 17:44:48 -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 1H7JWQ-0006MT-At; Wed, 17 Jan 2007 17:44:46 -0500 Original-Received: from localhost (scanhub01.unibe.ch [130.92.5.61]) by mailhub03.unibe.ch (Postfix) with ESMTP id 35B99B615F; Wed, 17 Jan 2007 23:44:45 +0100 (CET) X-Virus-checked: by University of Bern Original-Received: from mailhub03.unibe.ch ([130.92.9.70]) by localhost (scanhub01.unibe.ch [130.92.5.61]) (amavisd-new, port 10024) with LMTP id 4zCgDoBsC01c; Wed, 17 Jan 2007 23:44:42 +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 A7409B6134; Wed, 17 Jan 2007 23:44:42 +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 E2C17E240A2; Wed, 17 Jan 2007 23:44:32 +0100 (CET) Original-To: Eli Zaretskii In-Reply-To: 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:40401 Archived-At: Eli Zaretskii writes: > > 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). These 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 (ASCII (ISO646 IRV)). It is different outside of quotations. When I add my own text after a quotation all umlauts I type belong to latin-iso8859-1. When I send this text it is destructed again. After a while I found out that, if I yank umlauts from the quotation to my own text (instead of typing them myself) and send this message to myself, it stays intact and is displayed fine, 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 the text typed by myself seems to disturb Emacs so that it encodes the entire umlauts of my reply as iso-2022-jp when sending it. I concluded that I have 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 some 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 the umlauts I type always come as iso-8859-1. By the way, I've also tried to start Emacs with an almost empty .emacs file. The problem remaines. 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