Skip to content
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

Bad filename encoding on utv.unistra.fr #2020

Open
Rudloff opened this issue Dec 21, 2013 · 3 comments
Open

Bad filename encoding on utv.unistra.fr #2020

Rudloff opened this issue Dec 21, 2013 · 3 comments

Comments

@Rudloff
Copy link
Contributor

@Rudloff Rudloff commented Dec 21, 2013

When I download this video, the filename contains some bad Unicode characters:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://utv.unistra.fr/video.php?id_video=415', '-v', '--get-filename']
[debug] youtube-dl version 2013.12.04
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.3
[debug] Proxy map: {}
Remise de l�épée d�académicien à Laurent Pernot-415.mp4
@phihag
Copy link
Contributor

@phihag phihag commented Dec 21, 2013

Can you define what a bad character is? I guess all characters are in Unicode, so I'm not sure how that's relevant. This looks perfectly fine to me. If you mean the non-ASCII characters (é and á), you can pass in --restrict-filename if you want ugly underscores instead, but why would you?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 21, 2013

The problem is that there are some missing , for example it should be l’épée. Firefox detect windows-1252 as the encoding, but the html says it's iso-8859-1 (which doesn't work).

@Rudloff
Copy link
Contributor Author

@Rudloff Rudloff commented Dec 21, 2013

Here is what I see: http://bayimg.com/BAekFaafN
The ' are replaced with mojibake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.