Skip to content

Commit 88b9e1a

Browse files
committed
Usa utf-8 para tratar output en autorun
Las herramientas que usamos emiten caracteres que no están en ascii, que es el encoding por defecto que autorun usa. Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
1 parent 2b05279 commit 88b9e1a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@
9090
]
9191

9292

93+
# autorun is used, among other things, to run potodo, which generates non-ascii output
94+
# starting with 0.30. autorun OTOH defaults to use ascii to decode console/python output.
95+
# Let's switch to utf-8 instead.
96+
autorun_languages = {
97+
"console_output_encoding": "utf-8",
98+
"pycon_output_encoding": "utf-8",
99+
}
100+
93101
def setup(app):
94102

95103
def add_contributing_banner(app, doctree):

0 commit comments

Comments
 (0)