mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
handle utf-16 plain text attachments - now using translation::convert
This commit is contained in:
parent
135a4f6501
commit
145dcc6d02
@ -1491,7 +1491,7 @@ class felamimail_bo
|
||||
}
|
||||
if ($structure->type === 'TEXT' && isset($structure->parameters['CHARSET']) && stripos('UTF-16',$structure->parameters['CHARSET'])!==false)
|
||||
{
|
||||
$attachment = mb_convert_encoding($attachment,self::$displayCharset,$structure->parameters['CHARSET']);
|
||||
$attachment = translation::convert($attachment,$structure->parameters['CHARSET'],self::$displayCharset);
|
||||
}
|
||||
|
||||
$attachmentData = array(
|
||||
|
Loading…
Reference in New Issue
Block a user