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

HTML encoding special chars #4

Closed
moowsje opened this issue Sep 1, 2015 · 1 comment
Closed

HTML encoding special chars #4

moowsje opened this issue Sep 1, 2015 · 1 comment

Comments

@moowsje
Copy link

moowsje commented Sep 1, 2015

When sending a HTML formatted email with the variable and inserting a name containing international characters the characters are not displayed correctly (like: ó becomes ó and ö becomes ö).

This can be fixed by altering the source code and modify the mail header sent with python-mailer.
Change line 128 from: email_message.add_header('Content-Type', 'text/html')
To: email_message.add_header('Content-Type', 'text/html; charset="utf-8"')

Can you please fix this?

@qoda
Copy link
Owner

qoda commented Jun 6, 2017

Better late that never... Fixed in master

@qoda qoda closed this as completed Jun 6, 2017
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

2 participants