makoloader.py
3.04 KB
-
Specify UTF-8 encoding when loading Mako template · 64a85e19
When loading a Mako template from a Django template, the file encoding of the Mako template was left unspecified. In some cases, this would cause the Mako template to be interpreted as an ASCII template, resulting in blowups if the template was encoded in UTF-8 (e.g., lms/templates/footer.html). Now, both the input and output encodings are specified as UTF-8.
Nate Hardison committed