You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kejicjk I don't know if you've solved your problem but I'd just like to point out that this has nothing to do with this library, this is how the json module works when it encounter non-ascii characters.
To "solve" it, just ensure that you add ensure_ascii=False when using json.dumps
garbled text occur when input Chinese text, for example
input:
python3 videoTextGuessit.py 庆余年第二季/01.mp4
response is
{"title": "\u5e86\u4f59\u5e74\u7b2c\u4e8c\u5b63", "season": null, "episode": 1}
script detail is
The text was updated successfully, but these errors were encountered: