Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
[BADCHARSET (US-ASCII)] The specified charset is not supported. {"code":1024,"message":"[BADCHARSET (US-ASCII)] The specified charset is not supported.","file":".../plugins/support_manager/vendors/php-imap/ImapMailbox.php","line":52}
It seems the issue may be mb_list_encodings() which does not include US-ASCII
As a temporary fix, users can make a couple edits to plugins/support_manager/vendors/php-imap/ImapMailbox.php and change line 17 from:
public function __construct($imapPath, $login, $password, $attachmentsDir = false, $serverEncoding = 'utf-8') {
To
public function __construct($imapPath, $login, $password, $attachmentsDir = false, $serverEncoding = 'us-ascii') {
And line 507 from:
public function decodeMimeStr($string, $charset = 'UTF-8') {
To
public function decodeMimeStr($string, $charset = 'US-ASCII') {