From c6d9e6cb67e5c6fdbdd8d1e6e58fc7c933ef9c6b Mon Sep 17 00:00:00 2001 From: darwintree <17946284+darwintree@users.noreply.github.com> Date: Sun, 10 Sep 2023 21:56:12 +0800 Subject: [PATCH] chore(writer): improve text display(ja etc) in json file --- whisperx/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisperx/utils.py b/whisperx/utils.py index 37792d3..7c837a8 100644 --- a/whisperx/utils.py +++ b/whisperx/utils.py @@ -402,7 +402,7 @@ class WriteJSON(ResultWriter): extension: str = "json" def write_result(self, result: dict, file: TextIO, options: dict): - json.dump(result, file) + json.dump(result, file, ensure_ascii=False) def get_writer(