fix an encoding bug

This commit is contained in:
Sina Atalay 2023-11-19 18:48:35 +01:00 committed by Jeffrey Goldberg
parent 81bf1f1195
commit ef3350fda1
1 changed files with 1 additions and 0 deletions

View File

@ -510,6 +510,7 @@ def run_latex(latex_file_path: str) -> str:
stdout=subprocess.PIPE,
stdin=subprocess.DEVNULL, # don't allow TinyTeX to ask for user input
text=True,
encoding="utf-8",
) as latex_process:
output, error = latex_process.communicate()