mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
mkvextract must write an UTF-8 BOM if it outputs text in UTF-8.
This commit is contained in:
parent
f82e6f3c88
commit
038dc2ef68
@ -1,5 +1,8 @@
|
||||
2004-08-01 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvextract: bug fix: The CUE extraction wrote UTF-8 characters
|
||||
but no UTF-8 BOM (byte order marker) at the beginning.
|
||||
|
||||
* mkvmerge: bug fix: Handle TTA files with ID3 tags correctly ( =
|
||||
skip the ID3 tags).
|
||||
|
||||
|
@ -284,6 +284,8 @@ write_cuesheet(const char *file_name,
|
||||
if (chapters.ListSize() == 0)
|
||||
return;
|
||||
|
||||
out.write_bom("UTF-8");
|
||||
|
||||
print_if_global("CATALOG", "CATALOG %s\n");
|
||||
print_if_global("ARTIST", "PERFORMER \"%s\"\n");
|
||||
print_if_global("TITLE", "TITLE \"%s\"\n");
|
||||
|
Loading…
Reference in New Issue
Block a user