Commit Graph

8 Commits

Author SHA1 Message Date
Moritz Bunkus
5e6d91ccc3 XML: replace XML declaration's encoding attribute with UTF-8
Old pugixml versions didn't recode to UTF-8 themselves. Therefore
mkvmerge contains code to determine the encoding from the XML
declaration's `encoding` attribute and recoding the content to UTF-8
before passing it to pugixml. The old `encoding` attribute was left
untouched.

Newer pugixml versions do recode to UTF-8. In order to prevent
that (and therefore recoding twice), the XML declaration's `encoding`
attribute must be set to `UTF-8`.
2017-07-09 21:38:55 +02:00
Moritz Bunkus
a0e01bd962 test framework: sys returns both the output and the exit code 2013-12-18 22:22:27 +01:00
Moritz Bunkus
925fb5379d tests: move "srt" sub-dir 2013-10-19 13:08:26 +02:00
Moritz Bunkus
ef89c71683 Run tests for XML files on all existing files automatically 2012-03-27 19:32:23 +02:00
Moritz Bunkus
3a2ff12224 Test valid range of chapter elements 2012-03-26 09:48:11 +02:00
Moritz Bunkus
ac3f8ea98d Refine chapter test to verify mkvmerge's output 2012-03-26 09:28:51 +02:00
Moritz Bunkus
88826e094b Add more tests for cases in which the chapter parser should fail 2012-03-25 22:13:37 +02:00
Moritz Bunkus
c87de1470e Add several test cases for the XML parser routines 2012-03-24 12:28:53 +01:00