<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3165: mutt doesn't respect attach_charset setting



#3165: mutt doesn't respect attach_charset setting
------------------------------+---------------------------------------------
 Reporter:  antonio@xxxxxxxx  |       Owner:  mutt-dev
     Type:  defect            |      Status:  new     
 Priority:  minor             |   Milestone:          
Component:  mutt              |     Version:  1.5.19  
 Keywords:                    |  
------------------------------+---------------------------------------------
 Forwarding from http://bugs.debian.org/502628

 ---

 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]

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3165>
Mutt <http://www.mutt.org/>
The Mutt mail user agent