You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression in 5.4 beta: Korean CP949 (EUC-KR) SMI/SRT files open as Greek (1253) mojibake. Works in 5.3.0.
#16359
Cause: AutoDetectWordsGreek was expanded with many 2-letter words (να, το, τα, με, σε, μη, θα, τι, αν, ή...). CP949 bytes decoded as 1253 yield random Greek letters that hit these short words by chance, so the Greek check in DetectAnsiEncoding (count > 5, evaluated first) wins before the Korean (949) check is reached. The new "greekCount > cyrillicCount" guard only covers Cyrillic, not CJK.
Also: Settings > General > Default encoding has no effect on open — Se.Settings.General.DefaultEncoding is never copied to Configuration.Settings.General.DefaultEncoding, which GetEncodingFromFile reads.
Workaround: stay on 5.3.0, or File > Import > Subtitle with manually chosen encoding (949).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Cause: AutoDetectWordsGreek was expanded with many 2-letter words (να, το, τα, με, σε, μη, θα, τι, αν, ή...). CP949 bytes decoded as 1253 yield random Greek letters that hit these short words by chance, so the Greek check in DetectAnsiEncoding (count > 5, evaluated first) wins before the Korean (949) check is reached. The new "greekCount > cyrillicCount" guard only covers Cyrillic, not CJK.
Also: Settings > General > Default encoding has no effect on open — Se.Settings.General.DefaultEncoding is never copied to Configuration.Settings.General.DefaultEncoding, which GetEncodingFromFile reads.
Workaround: stay on 5.3.0, or File > Import > Subtitle with manually chosen encoding (949).
All reactions