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

On subtitle upload, Unicode detection fails if all non basic Latin characters are the same #20

Open
franontanaya opened this issue Oct 8, 2015 · 0 comments

Comments

@franontanaya
Copy link

Steps.

  1. Upload a UTF-8 SRT with any number of the same non basic Latin character, e.g. á

Result: The file is treated as ISO-8859-1x and the character is corrupted.

  1. Add a different non basic Latin character, e.g. é

Result: The file is treated as UTF-8 and loaded correctly.

I would look for an off-by-one error either on our code or in Django/Python functions.

@franontanaya franontanaya changed the title On subtitle upload, Unicode detection fails if there's all unicode characters are the same On subtitle upload, Unicode detection fails if all non basic Latin characters are the same Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant