comparison mercurial/sslutil.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 30f2715be123
children 75979c8d4572
comparison
equal deleted inserted replaced
34309:b94db1780365 34310:2d0c306a88c2