mirror of https://github.com/eyhc1/rendercv.git
fix an encoding bug
This commit is contained in:
parent
cce1ce7f35
commit
c3b64cb32a
|
@ -454,6 +454,7 @@ def run_latex(latex_file_path: str) -> str:
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stdin=subprocess.DEVNULL, # don't allow TinyTeX to ask for user input
|
stdin=subprocess.DEVNULL, # don't allow TinyTeX to ask for user input
|
||||||
text=True,
|
text=True,
|
||||||
|
encoding="utf-8",
|
||||||
) as latex_process:
|
) as latex_process:
|
||||||
output, error = latex_process.communicate()
|
output, error = latex_process.communicate()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue