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.
[Request] Add support for accented characters in output settings #7661
Comments
|
Can you post the output you get when you run youtube-dl with the
|
|
Oh, I missed the Junction link part. We'll have to test on Windows with your settings. These settings are output by |
I think something very dumb is happening and it's because of Windows 10... Not sure if the same thing happened with Win8, but I don't think so. |
|
Don't be afraid of this debug output. It shows characters in a strange fashion, but that's ok and not a problem in itself. On Python 3, the output would look nicer, but that's just debugging information. It is also very unlikely that Windows 8 vs Windows 10 is the problem. Much more likely is that the strange filesystem encoding is to blame. In this example, youtube-dl crashed rightfully though, since you must quote the -o value with double quotes ( |
|
One more query: Can you reproduce the problem when you run youtube-dl with |
|
Fixed quotations
--encoding UTF-8
--encoding cp1252
--encoding mbcs
I won't even pretend to understand what is going on, lol.
Brasil, PT-BR (Portuguese Brazilian). That's what I don't get. It should be using UTF-8, shouldn't it? |
|
No, you are not using UTF-8, but a multitude of different encodings - that is the problem. |
|
So, how do I fix it...? I never messed with these settings. |
|
We need to detect the correct encoding, and transfer to that. Most likely, we use the encoding your system uses for output, or for display instead of the encoding for the file system. |
|
|
|
@phihag Despite the CLI interface having all kinds messed up characters, the output directory and file had the correct characters. Any idea why they're being displayed so weirdly or was that expected?
is giving me the VÃ-deos output folder. When I set '-o "D:\Vídeos[%(extractor)s] %(uploader)s-%(upload_date)s-%(playlist)s #%(playlist_index)s - %(title)s [%(id)s].%(ext)s"' directly through the CLI, Vídeos is used correctly. |
|
Wow... I discovered the problem. |
They aren't supported, could you add them, please?
You know
They are pretty important in some latin-based languages.
This is mostly because my videos folder is named Vídeos (like the word is in my language) therefore, it becomes VÃ-deos in Y-DL, which then I have to make a junction link between the two folders and hide VÃdeos.