mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-04-29 18:23:25 +00:00
d1b9c912a4
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.