input: do not override subtitles encoding if BOM is found (fixes #5239)
That horrible hack caused all subtitles to be parsed as Unicode if one (but not necessarily all) opened subtitles started with a UTF-8 or UTF-16 Byte Order Mark. If any other subtitle was neither in UTF-8 nor in UTF-16 with a BOM, that hack failed.
Showing
Please register or sign in to comment