send_patched_file decodes with utf-8.
The default encoder for python 2 is ascii.
So it is necessary to also change send_string to use utf-8.
Differential D83984
Explicitly use utf-8 in send_string trixirt on Jul 16 2020, 1:42 PM. Authored by
Details send_patched_file decodes with utf-8. So it is necessary to also change send_string to use utf-8.
Diff Detail
Event TimelineComment Actions According to the doc, 'utf-8' is already the default encoding, at least on py3, but not on py2. i guess that the problem you're trying to fix? |