Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 46: ordinal not in range(128) #2839
Comments
|
We need the whole output you get using the
|
|
And make sure you are using the last version. |
|
I'm using the latest version of youtube-dl and I was using the verbose option. Here's the output as requested:
|
|
How do you define encoding to UTF-8 in the command? I tried but the option Because it's using the ascii codec to check on ascii extended characters. |
|
I just hit this issue as well:
|
|
I have similar issue:
|
|
I overridden the
then you use your class instead of YoutubeDL
|
|
Try running:
and re-run the command, I think it should solve the issue. See also: UnicodeEncodeError: 'ascii' codec can't encode character. |
|
nice dude, you do a great job @kenorb |
That input happens when I introduce the following command:
youtube-dl.py -o video.mov https://www.youtube.com/watch?v=hROC2Am_WBo --no-check-certificates --verbose
If the name of the file (video.mov) and the youtube address (https://www.youtube.com/watch?v=hROC2Am_WBo) are retrieved from the command that simulates the download of the address, it works fine, if I retrieve the name of the file and youtube address from a csv file (all of this is done in the Java Programming language). I really don't understand how I can have a UnicodeEncodeError, when the text is exactly the same. I'm confused.