diff options
author | der richter <der.richter@gmx.de> | 2020-02-22 14:21:06 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-02-22 14:21:06 +0100 |
commit | ee6ad403a7c73e587c6de7ced71861df29413926 (patch) | |
tree | 7765fec02b2bd31d65cb28b4e5323d3ccae9c39b /player/lua/ytdl_hook.lua | |
parent | 327b092bfc1c0efacfe669d9a0c220ca921257fc (diff) | |
download | mpv-ee6ad403a7c73e587c6de7ced71861df29413926.tar.bz2 mpv-ee6ad403a7c73e587c6de7ced71861df29413926.tar.xz |
cocoa-cb: fix crash with some japanese characters
the actual character that made mpv crash is IDEOGRAPHIC COMMA
(U+3001, UTF-8: E3 80 81, 、) and that only in some specific
circumstances that could be reliably reproduced on my end.
using an NSString instead of the Swift String actually fixes that issues
even though they should technically do the exact same thing. i tested
all the other String initialisers, but they all had had the same issue.
this is kinda only a workaround till i can find a different way of
handling it.
Diffstat (limited to 'player/lua/ytdl_hook.lua')
0 files changed, 0 insertions, 0 deletions