Control: tag -1 -moreinfo On Sun, Jun 21, 2020 at 01:16:13PM +0200, Antonio Radici wrote: > On Sun, Apr 15, 2018 at 04:40:22AM +0200, Adam Borowski wrote: > > I just tried to attach a patch to a mail. The patch looks fine: > > > > [/tmp]$ file ohw.debdiff > > ohw.debdiff: unified diff output, UTF-8 Unicode text > > > > And indeed, inside there's a name with 'ä' in it. All ok, properly encoded, > > using a sane locale, LC_CTYPE is ok, etc. However, mutt does: > > > > - I 1 /tmp/mutt-tartarus-1000-26079-3022800448 > > [text/plain, 8bit, utf-8, 0.3K] > > A 2 /tmp/ohw.debdiff > > [text/plain, 8bit, iso-8859-1, 5.1K] > > Can you attach a mbox file that contains the mail, assuming it is > reproducible with 1.14.4-2?
Here's the attachment: wget -qO- 'https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=871094;filename=ohw.debdiff;msg=17'|iconv -f iso8859-1 >ohw.debdiff Reproducible with 1.14.4-2 (unstable). Note that the file is not mislabelled, but properly converted to an unwanted locale, forming a valid iso8859-1 text. So this behaviour might even be intentionally added in times when Unicode was a new thing that almost no one used, and 8859-1 was the customary encoding. But today, any encodings other than UTF-8 are dead -- and in any case, I'd expect the file to get through unaltered. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ in the beginning was the boot and root floppies and they were good. ⢿⡄⠘⠷⠚⠋⠀ -- <willmore> on #linux-sunxi ⠈⠳⣄⠀⠀⠀⠀

