Closes #13232: Handle multiple encodings in exception logging.
Closes #13232: Handle multiple encodings in exception logging.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator