diff --git a/osxauditor.py b/osxauditor.py index a51a887..136a7d4 100755 --- a/osxauditor.py +++ b/osxauditor.py @@ -69,6 +69,10 @@ VT_API_KEY = os.getenv('VT_API_KEY', False) +# print should be UTF-8 ready +UTF8Writer = codecs.getwriter('utf8') +sys.stdout = UTF8Writer(sys.stdout) + try: from urllib.request import urlopen #python3 except ImportError: