mirror of https://github.com/yt-dlp/yt-dlp
[utils] Fix _windows_write_string (Fixes #2779)
It turns out that the function did not work for outputs longer than 1024 UCS-2 tokens. Write non-BMP characters one by one to ensure that we count correctly.pull/8/head
parent
edec83a025
commit
d1b9c912a4
Loading…
Reference in New Issue