https://bugs.winehq.org/show_bug.cgi?id=56630
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com --- The bug can be replicated in this little command line app:
---snip--- require_once('Mail.php'); require_once('Mail/mime.php');
$mime = new Mail_mime(array( 'head_charset' => 'utf-8', "text_charset" => "utf-8", "html_charset" => "utf-8", "eol" => "\n" ));
$mime->setTXTBody("version=1"); fwrite(STDOUT, $mime->get()); ---snip---
Saving that to filename.php and running "php filename.php" prints out:
---snip--- version=3D1 ---snip---
This is due to quoted-printable encoding (https://en.wikipedia.org/wiki/Quoted-printable), because 0x3D is the ASCII hex code for the "=" sign, and also explains why the lines are 76 chars long.
But if so, then why isn't the email body decoded from its quoted-printable encoding?