unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sven Bretfeld <sven.bretfeld@relwi.unibe.ch>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Customizing coding priority
Date: Wed, 17 Jan 2007 23:44:42 +0100	[thread overview]
Message-ID: <17838.42714.915656.255057@relwi-sven.unibe.ch> (raw)
In-Reply-To: <ur6ttwlfn.fsf@gnu.org>

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

  reply	other threads:[~2007-01-17 22:44 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17  0:09 Customizing coding priority Sven Bretfeld
2007-01-17  0:26 ` Peter Dyballa
2007-01-17  4:16 ` Eli Zaretskii
2007-01-17  7:59   ` Sven Bretfeld
2007-01-17 18:35     ` Eli Zaretskii
2007-01-17 22:44       ` Sven Bretfeld [this message]
2007-01-18  4:20         ` Eli Zaretskii
2007-01-18  4:58           ` Tom Rauchenwald
2007-01-18 10:02             ` Peter Dyballa
2007-01-18 16:12           ` Sven Bretfeld
2007-01-18 16:32             ` Peter Dyballa
2007-01-18 18:27               ` Reiner Steib
2007-01-18 21:36             ` Eli Zaretskii
2007-01-18 17:31           ` Reiner Steib
2007-01-18 18:15             ` Peter Dyballa
2007-01-18 18:46               ` Reiner Steib
2007-01-18 22:14                 ` Sven Bretfeld
2007-01-18 22:20                   ` Sven Bretfeld
2007-01-19 10:23                     ` Eli Zaretskii
2007-01-19  0:24                 ` Peter Dyballa
2007-01-19  9:37                   ` Reiner Steib
2007-01-19 10:40                   ` Eli Zaretskii
     [not found]                 ` <mailman.3276.1169158455.2155.help-gnu-emacs@gnu.org>
2007-01-19 14:04                   ` Piet van Oostrum
2007-01-19 17:10                     ` [SOLVED] " Sven Bretfeld
2007-01-19 22:45                       ` Lennart Borgman (gmail)
2007-01-17 20:38     ` Sven Bretfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17838.42714.915656.255057@relwi-sven.unibe.ch \
    --to=sven.bretfeld@relwi.unibe.ch \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sven.bretfeld@gmx.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).