From 6de903eb397d3924f2ddb8b714f507409ad5ff87 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Wed, 31 Oct 2018 17:02:05 +0100 Subject: [PATCH] oleobj: ensure stdout can handle unicode --- oletools/oleobj.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/oletools/oleobj.py b/oletools/oleobj.py index d9cf876..0f03376 100644 --- a/oletools/oleobj.py +++ b/oletools/oleobj.py @@ -73,6 +73,7 @@ except ImportError: from oletools.ppt_record_parser import (is_ppt, PptFile, PptRecordExOleVbaActiveXAtom) from oletools.ooxml import XmlParser +from oletools.common import ensure_stdout_handles_unicode # ----------------------------------------------------------------------------- # CHANGELOG: @@ -848,6 +849,7 @@ def main(cmd_line_args=None): provide other arguments. """ # print banner with version + ensure_stdout_handles_unicode() print('oleobj %s - http://decalage.info/oletools' % __version__) print('THIS IS WORK IN PROGRESS - Check updates regularly!') print('Please report any issue at ' -- libgit2 0.21.4