mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 20:32:33 +00:00
4eefc50110
nlohmann's JSON libraries in version 2.x used to strip bytes that aren't valid UTF-8 from strings (e.g. service/station names in MPEG transport streams) before outputting the JSON data structures. With MKVToolNix v24 that bundled library was updated to v3 which now throws an exception on such invalid data. Therefore mkvmerge now takes care of replacing invalid bytes with placeholder characters itself before passing the strings to nlohmann's JSON library. Fixes #2327.
6 lines
220 B
Ruby
Executable File
6 lines
220 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_643mpeg_ts_bad_utf8_in_service_names
|
|
describe "mkvmerge / identification of MPEG transport streams with invalid UTF-8 strings for service names"
|
|
test_identify "data/ts/bad_utf-8_service_names.ts"
|