diff --git a/oletools/thirdparty/tablestream/tablestream.py b/oletools/thirdparty/tablestream/tablestream.py index addf475..3a7df4f 100644 --- a/oletools/thirdparty/tablestream/tablestream.py +++ b/oletools/thirdparty/tablestream/tablestream.py @@ -281,6 +281,9 @@ class TableStream(object): """ shortcut for self.outfile.write() """ + # TODO temporary bugfix for Unicode replacement character FFFD, that triggers an + # exception when printing to the console on Windows 10 (CP850) + s = s.replace(u"\uFFFD", '') self.outfile.write(s) def write_row(self, row, last=False, colors=None):