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