diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-12-16 15:20:26 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-12-16 15:20:26 +0000 |
| commit | 85c3f4640a4ec423859906fd5adac946c72ce6de (patch) | |
| tree | e92bc74142fa5e52ae52d0ccd452efd4113ddcf7 /scripts/mammoth | |
| parent | 6c2feff6c9478986f9f566d6b2b6db45cbf8fd8b (diff) | |
Encode output as utf8
Diffstat (limited to 'scripts/mammoth')
| -rw-r--r-- | scripts/mammoth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mammoth b/scripts/mammoth index 0aeb93d..f4470f7 100644 --- a/scripts/mammoth +++ b/scripts/mammoth @@ -22,7 +22,7 @@ def main(): for message in result.messages: sys.stderr.write(message.message) sys.stderr.write("\n") - output.write(result.value) + output.write(result.value.encode("utf8")) @contextlib.contextmanager |
