Re: Bug#176332: mutt-utf8: mutt mixes up UTF-8 and ISO-Latin-1 attachments
On Sat, Oct 25, 2003 at 09:40:37PM +0200, Alain Bench wrote:
> It seems Marco forwarded your Debian report upstream to mutt-dev
> list, but AFAICS it never appeared there nor on Mutt's BTS. So CC
> mutt-dev ML.
Thank you.
> > If, on the other hand, I try to attach a ISO-8859-1 encoded file, mutt
> > sets the MIME type to "text/plain, 8bit, utf-8". This is very
> > irritating, since I always have to change the MIME type per hand in
> > these cases.
>
> Your file is not compatible with $charset. There are invalid UTF-8
> byte sequences. Mutt can't do anything else but fail. You already found
> necessary <edit-type> function to inform Mutt about real file charset.
>
> In one word: Not a Mutt bug, just the normal way Mutt is designed.
There is something very strange going on. I just created a file called
"foo-utf8", which contains umlauts in UTF-8 encoding. Now I performed
the following steps:
srittau@jroger:~$ file foo-utf8
foo-utf8: UTF-8 Unicode text
srittau@jroger:~$ iconv --from utf-8 --to iso-8859-1 foo-utf8 >foo-iso
srittau@jroger:~$ file foo-iso
foo-iso: ISO-8859 text
srittau@jroger:~$
I have attached both files to this message. As you will notice the
encoding is exactly the wrong way round.
- Sebastian
Umlauts: äöü
Umlauts: ���