Hi.
I'm using Roundcube Webmail 1.6.8 and list of plugins:
filesystem_attachments 1.0
jqueryui 1.13.2
managesieve 9.4
markasjunk 2.0
password 5.3
I'm receiving regularly emails from some user, who uses outlook and his messages uses TNEF format.
Message looks like:
(https://i.imgur.com/1fBuexl.png)
if I change here program/lib/Roundcube/rcube_message.php on line 1102 (this line added here https://github.com/roundcube/roundcubemail/commit/22066d8ffcc9b01e12472d652548a2291fd08aad)
$tpart->charset = RCUBE_CHARSET;
to
$tpart->charset = 'windows-1251';
All looks good.
I think RCUBE_CHARSET should be replaced with some function that checks encoding in TNEF attachment and uses it instead of some default constant.
Can you please advice the way I can implement some similar workaround but without source code changes?