New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeEncodeError #126
Comments
VoD id? |
Hi, Thanks for the reply. 1783928313 |
Well it's something to do with emoji, here's the titles: 1783171981 - Short Stream For Solo CC Finals 🏆 It tries to encode them to cp1252 which fails. I would expect it to default to UTF-8. It's a windows-specific bug. Could you please run |
I see. Thx. Do you think there's a workaorund? twitch-dl 2.1.3 I'm downloading batches of videos, in a jupyter notebook using subprocess. |
You can try running Found some other workarounds here: https://stackoverflow.com/a/57134096/84245 I don't have a windows machine so can't test. |
I encountered this same issue some months ago (Windows 8.1+Python 3.8.2), when piping |
@garoto Thanks. Another option is setting Docs: |
PYTHONUTF8=1 also works. Nice find, thanks. |
Thanks a lot! Setting PYTHONUTF8=1 or UTF-8 works for me too. |
Hi,
Anyone got this error before? UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f60e' in position 12: character maps to .
Attaching the full error message below:
The text was updated successfully, but these errors were encountered: