diff --git a/README.rst b/README.rst
index 000d916be2b9..f8b22889d386 100644
--- a/README.rst
+++ b/README.rst
@@ -38,15 +38,15 @@
.. _Downloads: https://pepy.tech/project/matplotlib/month
.. |NUMFocus| image:: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
-.. _NUMFocus: http://www.numfocus.org
+.. _NUMFocus: https://www.numfocus.org
-.. image:: doc/_static/logo2.png
+.. image:: https://matplotlib.org/_static/logo2.svg
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
-Check out our `home page `_ for more information.
+Check out our `home page `_ for more information.
-.. image:: doc/_static/readme_preview.png
+.. image:: https://matplotlib.org/_static/readme_preview.png
Matplotlib produces publication-quality figures in a variety of hardcopy formats
and interactive environments across platforms. Matplotlib can be used in Python scripts,
@@ -58,7 +58,7 @@ Install
=======
For installation instructions and requirements, see `INSTALL.rst `_ or the
-`install `_ documentation.
+`install `_ documentation.
Test
====
@@ -77,7 +77,7 @@ You've worked out a way to fix it – even better!
You want to tell us about it – best of all!
-Start at the `contributing guide `_!
+Start at the `contributing guide `_!
Contact
=======
diff --git a/setup.py b/setup.py
index 16149e83af89..872fe0672223 100644
--- a/setup.py
+++ b/setup.py
@@ -223,9 +223,9 @@ def run(self):
with open('lib/matplotlib/mpl-data/matplotlibrc', 'w') as fd:
fd.write(''.join(template_lines))
- # Use Readme as long description
- with open('README.rst') as fd:
- long_description = fd.read()
+ # Use Readme as long description
+ with open('README.rst', encoding='utf-8') as fd:
+ long_description = fd.read()
# Finally, pass this all along to distutils to do the heavy lifting.
setup(