mirror of https://github.com/eyhc1/rendercv.git
fix an encoding bug
This commit is contained in:
parent
81bf1f1195
commit
ef3350fda1
|
@ -510,6 +510,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