Subject: Re: bug#6974: Emacs doesn't like Swedish ä (on w32)

From: Eli Zaretskii <[email-masked]>
Date: Sat, 04 Sep 2010 16:15:50 +0300

> Date: Sat, 04 Sep 2010 13:21:09 +0200
> From: Andreas Röhler <[email-masked]>
> CC: [email-masked]
> 
> >> (insert (list (read-from-string (format "%s" α))
> >
> > This one errors out.
> >
> >> (setq mon (list "Januar" "Februar" "März" "April" "Mai" "Juni" "Juli"
> >> "August" "September" "Oktober"   "November" "Dezember"))
> >> Mai
> >> \,(pop mon)
> >
> > I don't see anything here that could have caused corruption.  And note
> > that these parts of your file are perfectly fine.
> >
> 
> Only in thunderbird, see screenshot attached.

Not only in Thunderbird, also in Emacs, if you force UTF-8 decoding
with "C-x RET c".

> If thunderbird displays the pasted code correctly,
> doesn't it indicate a bug in Emacs?

No, because we don't know what exactly happens to the text during
copy-paste.  Thunderbird could perform some "corrective" action, for
example.  Or, if you copy just a portion of the file, that portion
could be a valid UTF-8.

> BTW pasting from thunderbird might be well considered as a possible trigger.

Maybe.  Look, I don't see any reason to continue this guesswork.  If
you can find a recipe to reproduce the corruption starting with a
valid UTF-8 file, please post it.