-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Crunchyroll - Can't Download - "latin-1 codec can't encode character \u2019" #26128
Comments
Think problem came from this: [debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252 Edit: If I use the youtube_dl installed with pip I use this: python youtube_dl blablabla => I get FS and OUT in UTF-8 but I have the same error, It seems it came from cookie file |
Yep, the problem comes from the cookie file. Did you change your browser language recently? |
I have the same problem since today
|
Thanks for your reply but ...
Edit: Important point, if I save cookies with chrome, it don't work, |
Solution : |
U+2019 RIGHT SINGLE QUOTATION MARK This character shouldn't be in the cookie file, and shouldn't be set in a header value. The cookie file is treated as UTF-8 and so yt-dl can read such a character from a cookie file and try to set it in the header. A fix was proposed in response to #6769 but the fix code has been commented out. However the problem URL can be downloaded just by omitting the cookie option. |
Checklist
Verbose log
Description
Since 1 week I can't download anymore with this command. It always ask me about latin-1 codec and \u2019 character. I make a test on another windows and I have the same error.
Is someone have a solution with this ?
The text was updated successfully, but these errors were encountered: