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

Files with encodings other than utf-8 unicode are not imported at all #294

Open
jeanslack opened this issue Apr 16, 2024 · 0 comments
Open
Labels
bug Something isn't working Fixed

Comments

@jeanslack
Copy link
Owner

jeanslack commented Apr 16, 2024

What operating system are you using?
Linux

What version of Videomass are you using and how did you install or run it?
Running from source code.

Describe the bug
Loading some video files raised traceback UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 804: invalid continuation byte. This error was not handled by the program and passed silently into the terminal.

We noticed that metadata on media files written with non-UTF-8 encoding characters causes this problem.

At least, To ensure that the problem does not pass silently need to handle the UnicodeDecodeError exception. Fixed by #295

Add a function that allows you to change character encoding on the fly to be able to work even on files with non-standard encodings. Fixed by #297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed
Projects
None yet
Development

No branches or pull requests

1 participant