python - How can I render a Django template that has UTF8 characters in it? -
I am trying to send a Django email with UTF-8 characters in the template, in particular:
While attempting to write a special "î" character in symbolic terms (that is the character in that place.)
Here to create an email body A. My code is:
template = loader.get_template ('French_thank_you.html')
Mac Roman encoding using the editor. Open the template, save it as UTF-8, and it should work properly.
Comments
Post a Comment