A feature-rich command-line audio/video downloader
Allow unicode characters in `info.json`
pukkandan45d86abeb495
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.pyindex 5ce6df7ac2..788bf16b77 100644--- a/yt_dlp/utils.py+++ b/yt_dlp/utils.py@@ -305,7 +305,7 @@ def write_json_file(obj, fn):try:with tf:- json.dump(obj, tf)+ json.dump(obj, tf, ensure_ascii=False)if sys.platform == 'win32':# Need to remove existing file on Windows, else os.rename raises# WindowsError or FileExistsError.