[imp] plain text attachment encoding

Jan Schneider jan at horde.org
Thu Mar 10 10:23:55 UTC 2016


Please keep discussions on the list, and please don't top-post.

Zitat von muser <muser071 at gmail.com>:

>      On Tue, Mar 8, 2016 at 11:03 AM, Jan Schneider <jan at horde.org> wrote:
>
>> Zitat von mb user <muser071 at gmail.com>:
>>
>>> Hi all,
>>>
>>> I get emails, with txt file as attachment (QueryResults45218723.txt). These
>>> attachments have iso-8859-2 charsets, and transfer encoded to base64.
>>>
>>> When I click on the attachment, imp shows it with utf-8 charset, instead of
>>> iso-8859-2.
>>>
>>> How can I tell imp, not to use the default charset encoding?
>>>
>>> These are MIME 1.0 mails.
>>>
>>> Imp version: Imp H6 (7.0.0-git)
>>
>> If you want the unaltered content, don't display, but download the  
>> attachment. If you use IMP's MIME viewer to display the  
>> attachment's content, it's expected to be converted to UTF-8.
>>
> Hi Jan,
>      Thank you for your answer.
>  Can I influence the MIME viewer, to display as iso-8859-2 text, if  
> I change the extension of the attachment?
>  Or what is the method, as the MIME viewer detect encoding?

Well, you can change the code of "Plain" mime viewer to use a  
different output encoding, but I would recommend against it. And I  
still don't see any rationale to change the current behavior.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the imp mailing list