Resolve #387 Non-ascii folder name isn't displayed correctly

This commit is contained in:
the-djmaze 2022-05-13 17:25:21 +02:00
parent 68a1fe64bb
commit 0672a73c0b

View file

@ -245,7 +245,7 @@ class ImapClient extends \MailSo\Net\NetClient
// RFC 6855 || RFC 5738
$this->UTF8 = $this->IsSupported('UTF8=ONLY') || $this->IsSupported('UTF8=ACCEPT');
if ($this->UTF8) {
$this->Enable('ENABLE', 'UTF8=ACCEPT');
$this->Enable('UTF8=ACCEPT');
}
}
catch (Exceptions\NegativeResponseException $oException)