Files
iptvnator/libs
4grayandClaude Fable 5 79c0557d1f fix(playback): detect CP1251 subtitles by letter bytes, not whole-file ratio
Codex review on #1471: short-dialogue CP1251 SRT files are dominated by
ASCII cue counters and timing lines, so a whole-file high-byte ratio stayed
under the threshold and the Cyrillic text decoded as Windows-1252 mojibake.
The discriminator now compares high bytes against ASCII letters only —
timing scaffolding is identical in every candidate encoding and no longer
dilutes the signal.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 09:05:08 +02:00
..