diff --git a/sphinxcontrib/plantuml.py b/sphinxcontrib/plantuml.py index 1a818e3..dd020e9 100644 --- a/sphinxcontrib/plantuml.py +++ b/sphinxcontrib/plantuml.py @@ -376,7 +376,8 @@ def _convert_eps_to_pdf(self, refname, fname): try: try: p = subprocess.Popen(args, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + stderr=subprocess.PIPE, + encoding='utf-8') except OSError as err: # workaround for missing shebang of epstopdf script if err.errno != getattr(errno, 'ENOEXEC', 0):