﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4835	EmailMultiAlternatives doesn't render unicode html well	anonymous	Adrian Holovaty	"The following code doesn't render the HTML message well[[BR]]


{{{
from django.core.mail import EmailMultiAlternatives
from django.template import Context, Template

test_string = u'éàèèèççççaaaa'


t = Template(""Here is a string {{ test_string }}."")
c = Context({""test_string"": test_string })

message_html = t.render(c)

subject, from_email, to = 'hello', 'from@example.com', 'to@example.com'
text_content = u'Here is a string %s' % test_string
html_content = message_html
msg = EmailMultiAlternatives(subject, text_content, from_email, [to])
msg.attach_alternative(html_content, ""text/html"")
msg.send()
}}}

Text message is OK but the HTML is not
"		closed	Core (Mail)	dev		invalid	mail		Unreviewed	0	0	0	0	0	0
