Skip to content

Do not UTF-8 encode email body text. (for develop)#1818

Merged
pstaabp merged 1 commit intoopenwebwork:developfrom
drgrice1:bugfix/no-encode-email-messages-develop
Oct 29, 2022
Merged

Do not UTF-8 encode email body text. (for develop)#1818
pstaabp merged 1 commit intoopenwebwork:developfrom
drgrice1:bugfix/no-encode-email-messages-develop

Conversation

@drgrice1
Copy link
Copy Markdown
Member

The Email::Stuffer package tries to automatically detect if the body needs to be UTF-8 encoded (either that or it just does so by default), and so if you UTF-8 encode the message first, then Email::Stuffer does it again resulting in "Mojibake".

This is #1817 for develop.

@drgrice1 drgrice1 force-pushed the bugfix/no-encode-email-messages-develop branch from 3665f12 to 91bccbf Compare October 24, 2022 15:25
@drgrice1 drgrice1 changed the title Do not UTF-8 encode email body text. Do not UTF-8 encode email body text. (for develop) Oct 24, 2022
Copy link
Copy Markdown
Member

@taniwallach taniwallach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the PR to main. These are the same changes.

The Email::Stuffer package tries to automatically detect if the body
needs to be UTF-8 encoded (either that or it just does so by default),
and so if you UTF-8 encode the message first, then Email::Stuffer does
it again resulting in "Mojibake".

This is openwebwork#1817 for develop.
@drgrice1 drgrice1 force-pushed the bugfix/no-encode-email-messages-develop branch from 91bccbf to 0c06beb Compare October 28, 2022 01:37
@pstaabp pstaabp merged commit d3e88d3 into openwebwork:develop Oct 29, 2022
@drgrice1 drgrice1 deleted the bugfix/no-encode-email-messages-develop branch October 29, 2022 20:29
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

Successfully merging this pull request may close these issues.

3 participants