Package: mutt
Version: 1.5.18-4
Severity: normal

Hi,

when having a file in utf‐8 encoding that has a valid representation with
latin1, but the attach_charset is set to encode only in us-ascii and
utf‐8, mutt still recodes the file in latin1.

% echo äöü > file
% file file
file: UTF-8 Unicode text
% HOME=/tmp LC_ALL=C mutt -e 'set attach_charset=us-ascii:utf-8' -s test -a 
file recipient

-- Attachments
- I     1 ~/mutt-ibook-1000-20420-0                    [text/plain, 7bit, 
us-ascii, 0K]
  A     2 file                                     [text/plain, 8bit, 
iso-8859-1, 0.1K]


Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.27
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc6                 2.7-15             GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libgdbm3              1.8.3-4            GNU dbm database routines (runtime
ii  libgnutls26           2.4.1-1            the GNU TLS library - runtime libr
ii  libidn11              1.10-2.1           GNU libidn library, implementation
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libncursesw5          5.6+20081004-1     shared libraries for terminal hand
ii  libsasl2-2            2.1.22.dfsg1-23    Cyrus SASL - authentication abstra

Versions of packages mutt recommends:
ii  exim4                         4.69-9     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-9     lightweight Exim MTA (v4) daemon
ii  locales                       2.7-15     GNU C Library: National Language (
ii  mime-support                  3.44-1     MIME files 'mime.types' & 'mailcap

Versions of packages mutt suggests:
ii  aspell                        0.60.6-1   GNU Aspell spell-checker
ii  ca-certificates               20080809   Common CA certificates
ii  gnupg                         1.4.9-3    GNU privacy guard - a free PGP rep
pn  mixmaster                     <none>     (no description available)
ii  openssl                       0.9.8g-13  Secure Socket Layer (SSL) binary a
ii  urlview                       0.9-18     Extracts URLs from text

Versions of packages mutt is related to:
ii  mutt                          1.5.18-4   text-based mailreader supporting M
pn  mutt-dbg                      <none>     (no description available)
ii  mutt-patched                  1.5.18-4   the Mutt Mail User Agent with extr

-- no debconf information

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to