Skip to content
Snippets Groups Projects
Commit bd0a3056eb2b authored by Charlie Clark's avatar Charlie Clark
Browse files

Explicitly use UTF-8 for the README.

parent dca4325bfd6c
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
from .xmlfile import xmlfile from .xmlfile import xmlfile
# constants # constants
__version__ = '1.0.0' __version__ = '1.0.1'
__author__ = 'See ATUHORS.txt' __author__ = 'See ATUHORS.txt'
__license__ = 'MIT' __license__ = 'MIT'
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
them here. them here.
""" """
import codecs
import sys import sys
import os import os
import warnings import warnings
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
try: try:
with open(os.path.join(here, 'README.rst')) as f: with codecs.open(os.path.join(here, 'README.rst'), encoding="utf-8") as f:
README = f.read() README = f.read()
except IOError: except IOError:
README = '' README = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment