[Merge] lp:~abompard/mailman/mailman-templates-utf8 into lp:mailman

Aurélien Bompard aurelien at bompard.org
Wed Feb 11 17:57:27 CET 2015


Aurélien Bompard has proposed merging lp:~abompard/mailman/mailman-templates-utf8 into lp:mailman.

Requested reviews:
  Mailman Coders (mailman-coders)

For more details, see:
https://code.launchpad.net/~abompard/mailman/mailman-templates-utf8/+merge/249358

As discussed on the mailing-list in October, the templates should be encoded in UTF-8.

(https://mail.python.org/pipermail/mailman-developers/2013-October/023347.html)

However, the current code does not specify this and relies on locale.getpreferredencoding() returning UTF-8 to read the templates.

You can verify this by running the test suite with LANG=C.

This branch forces the templates encoding to UTF-8 on read().

-- 
Your team Mailman Coders is requested to review the proposed merge of lp:~abompard/mailman/mailman-templates-utf8 into lp:mailman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 1589 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-coders/attachments/20150211/1ae792c6/attachment.diff>


More information about the Mailman-coders mailing list