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

Email::MIME doesn't support Content-Transfer-Encoding: 8bit #6

Open
mscha opened this issue Mar 27, 2018 · 0 comments
Open

Email::MIME doesn't support Content-Transfer-Encoding: 8bit #6

mscha opened this issue Mar 27, 2018 · 0 comments

Comments

@mscha
Copy link

mscha commented Mar 27, 2018

If you use :encoding<8bit>, or simply leave the encoding attribute out, and use non-ASCII characters in your body-str, you get an error:

Can not decode a utf-8 buffer as if it were ascii
  in method body-set at /opt/perl6-2018.01/share/perl6/site/sources/CE2F9EE6BB0EA068987D48711B20EC8B84410730 (Email::MIME) line 438
  in method body-str-set at /opt/perl6-2018.01/share/perl6/site/sources/CE2F9EE6BB0EA068987D48711B20EC8B84410730 (Email::MIME) line 496
  in method create at /opt/perl6-2018.01/share/perl6/site/sources/CE2F9EE6BB0EA068987D48711B20EC8B84410730 (Email::MIME) line 102

Quoted printable is so 1990s... And don't get me started on BASE64. 😉
Modern email systems handle 8-bit content just fine.

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

1 participant