mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Api - Set default charset for mail to utf-8, overriding Horde's us-ascii
This commit is contained in:
parent
fe64572ec9
commit
78028dfbda
@ -7254,6 +7254,9 @@ class Mail
|
||||
// Check and fix long header fields
|
||||
$message = self::_checkAndfixLongHeaderFields($message);
|
||||
|
||||
// Default charset to utf-8, not us-ascii which Horde chooses
|
||||
Horde_Mime_Part::$defaultCharset = 'utf-8';
|
||||
|
||||
$structure = Horde_Mime_Part::parseMessage($message);
|
||||
//error_log(__METHOD__.__LINE__.'#'.$structure->getPrimaryType().'#');
|
||||
if ($force8bitOnPrimaryPart&&$structure->getPrimaryType()=='text')
|
||||
|
Loading…
Reference in New Issue
Block a user