mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Use utf-8 encoding for loadscript.vpy, handles nonstandard characters.
This commit is contained in:
parent
86b5e38a76
commit
b3c3d9bcb9
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def create_vs_file(temp: Path, source, chunk_method):
|
|||
'core.lsmas.LWLibavSource(r"{}", cachefile="{}").set_output()'
|
||||
)
|
||||
|
||||
with open(load_script, "w+") as file:
|
||||
with open(load_script, "w+", encoding='utf-8') as file:
|
||||
file.write(script.format(Path(source).resolve(), cache_file))
|
||||
|
||||
cache_generation = f"vspipe -i {load_script.as_posix()} -i -"
|
||||
|
|
Loading…
Reference in a new issue