Mercurial > hg
diff mercurial/lsprof.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 | b1a59b80e1a3 |
children | d4e5b2653693 |