mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
5934eddc75
The `getline` function tries to handle different line ending styles (carriage returns, new lines, a mix of both). For that it has to probe one more character after having found one of them. If that probed character is not one of them, then the previous position has to be restored — and that was wrongfully assuming that each character is only one byte long. Which it isn't. Fixes #2160.
6 lines
229 B
Ruby
Executable File
6 lines
229 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_623text_files_utf16le_different_line_endings
|
|
describe "mkvmerge / text files encoded in UTF-16LE with different line ending styles"
|
|
test_merge "data/subtitles/srt/utf16le_different_line_ending_styles.srt"
|