mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Tell mkvmerge to output strings to the console / pipe in UTF-8.
This commit is contained in:
parent
9efefc1b49
commit
445e22c01c
@ -1226,6 +1226,8 @@ mmg_dialog::update_command_line() {
|
|||||||
|
|
||||||
clargs.Clear();
|
clargs.Clear();
|
||||||
clargs.Add(mkvmerge_path);
|
clargs.Add(mkvmerge_path);
|
||||||
|
clargs.Add(wxT("--output-charset"));
|
||||||
|
clargs.Add(wxT("UTF-8"));
|
||||||
clargs.Add(wxT("-o"));
|
clargs.Add(wxT("-o"));
|
||||||
clargs.Add(tc_output->GetValue());
|
clargs.Add(tc_output->GetValue());
|
||||||
args_start = clargs.Count();
|
args_start = clargs.Count();
|
||||||
|
@ -761,7 +761,7 @@ tab_input::add_file(const wxString &file_name,
|
|||||||
wxICON_ERROR);
|
wxICON_ERROR);
|
||||||
throw 0;
|
throw 0;
|
||||||
}
|
}
|
||||||
opt_file->Write(wxT("--identify-verbose\n"));
|
opt_file->Write(wxT("--output-charset\nUTF-8\n--identify-verbose\n"));
|
||||||
arg_utf8 = to_utf8(file_name);
|
arg_utf8 = to_utf8(file_name);
|
||||||
opt_file->Write(arg_utf8.c_str(), arg_utf8.length());
|
opt_file->Write(arg_utf8.c_str(), arg_utf8.length());
|
||||||
opt_file->Write(wxT("\n"));
|
opt_file->Write(wxT("\n"));
|
||||||
|
Loading…
Reference in New Issue
Block a user