Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mb_convert_encoding(): Illegal character encoding specified #231

Open
ascendroGitHub opened this issue Dec 7, 2018 · 3 comments
Open

mb_convert_encoding(): Illegal character encoding specified #231

ascendroGitHub opened this issue Dec 7, 2018 · 3 comments

Comments

@ascendroGitHub
Copy link

Hi,
Can you please help me, I think this is a bug:

Steps to reproduce:

  1. Connected via POP3/IMAP to a maibox
  2. Selected INBOX folder
  3. request: ->getMessagesByCriteria('', 50)
  4. Exception Error is catched to an email:
    yii\base\ErrorException Object
    (
    [message:protected] => mb_convert_encoding(): Illegal character encoding specified
    [string:Exception:private] =>
    [code:protected] => 2
    [file:protected] => C:\Work\wamp64\www\workflow-assistant\vendor\ssilence\php-imap-client\ImapClient\IncomingMessage.php
    [line:protected] => 392
    )

charset = null

https://www.screencast.com/t/n1rY50Djume

@mcki0127
Copy link

Did you ever get anywhere with this? I'm having the same problem. Line 400 of IncomingMessage.php is failing:

$objNew->text = quoted_printable_decode(mb_convert_encoding( $objNew->plain, "utf-8", $objNew->plain->charset ));

@JAKgit
Copy link

JAKgit commented May 27, 2021

Check following comment: #251 (comment)

@dmorenohousell
Copy link

dmorenohousell commented Sep 9, 2021

I am having the same issue:

mb_convert_encoding(): Illegal character encoding specified in IncomingMessage.php line 400

$objNew->text = quoted_printable_decode(mb_convert_encoding( $objNew->plain, "utf-8", $objNew->plain->charset ));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants