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.
UTF8 decode issue for title #734
Comments
|
Sorry for the problem, but could include a the full command line log of a problematic session, with the
(Note: ironically, github's handling of non-BMP characters seems to have been broken, but your issue should still reproducible with ä, shouldn'it?) Also, what filesystem are you using? |
|
Here is an url that I use for testing with this issue :
Taking account of the error split from e5edd51 , I get : Further: the issue doesn't happen with Youtube (https://www.youtube.com/watch?v=3Pg1T66t68w). For now, I can see the error only with the GenericIE. |
|
Thanks for the report, fixed. |
|
Thanks :) |
Hi there,
I noticed that when a webpage has non ascii chars in <title>, youtube-dl fails with "ERROR: invalid system charset or erroneous output template" (GenericIE).
I'm not a python dev, but I investigated. This is where I came :
prepare_filenameyou could split from :to
as a little sugar (it will help you debugging in the future).
ValueErrorandKeyErrorin python, I discoveredUnicodeError. I added this as a debug helper :that throw me a
ERROR: unicode encoding error for "R��gis blabla": ordinal not in range(128).My python skills are spent. As it is a unicode conversion issue, I let you figure out what to do :-)