summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnews.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/news.py b/news.py
index a3d327a..f5bbb52 100755
--- a/news.py
+++ b/news.py
@@ -50,7 +50,7 @@ class BasicWriter(object):
__slots__ = ('stream', 'isFirst')
__metaclass__ = ABCMeta
def __init__(self, outfile):
- self.stream = open(outfile, 'w')
+ self.stream = open(outfile, 'w', encoding='utf-8')
self.isFirst = True
@abstractmethod