fix an encoding bug

This commit is contained in:
Sina Atalay
2023-11-19 18:48:35 +01:00
parent 4c79d80f06
commit bbfdfd182d

View File

@@ -454,6 +454,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()