Mercurial > hg
diff mercurial/formatter.py @ 34310:2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
3e544c074459 introduced a bug: emails Content-Transfer-Encoding
is silently replaced with 'quoted-printable' while any other
encoding could be used by underlying code. The problem is revealed
when a long unicode line is encoded.
The patch implements proper check which works for any text and
encoding.
author | Igor Ippolitov <iippolitov@gmail.com> |
---|---|
date | Tue, 26 Sep 2017 16:14:57 +0300 |
parents | ebe3d0095c69 |
children | ebf2c1b0c70c |