80fd16
diff -up nose-1.3.7/nose/plugins/doctests.py.readunicode nose-1.3.7/nose/plugins/doctests.py
80fd16
--- nose-1.3.7/nose/plugins/doctests.py.readunicode	2015-04-04 02:52:52.000000000 -0600
80fd16
+++ nose-1.3.7/nose/plugins/doctests.py	2016-11-15 14:24:54.298239018 -0700
80fd16
@@ -49,6 +49,7 @@ test.
80fd16
 """
80fd16
 from __future__ import generators
80fd16
 
80fd16
+import codecs
80fd16
 import logging
80fd16
 import os
80fd16
 import sys
80fd16
@@ -259,7 +260,7 @@ class Doctest(Plugin):
80fd16
         """
80fd16
         if self.extension and anyp(filename.endswith, self.extension):
80fd16
             name = os.path.basename(filename)
80fd16
-            dh = open(filename)
80fd16
+            dh = codecs.open(filename, encoding='utf-8')
80fd16
             try:
80fd16
                 doc = dh.read()
80fd16
             finally: