Tell mkvmerge to output strings to the console / pipe in UTF-8.

This commit is contained in:
Moritz Bunkus 2005-02-20 11:23:18 +00:00
parent 9efefc1b49
commit 445e22c01c
2 changed files with 3 additions and 1 deletions

View File

@ -1226,6 +1226,8 @@ mmg_dialog::update_command_line() {
clargs.Clear();
clargs.Add(mkvmerge_path);
clargs.Add(wxT("--output-charset"));
clargs.Add(wxT("UTF-8"));
clargs.Add(wxT("-o"));
clargs.Add(tc_output->GetValue());
args_start = clargs.Count();

View File

@ -761,7 +761,7 @@ tab_input::add_file(const wxString &file_name,
wxICON_ERROR);
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);
opt_file->Write(arg_utf8.c_str(), arg_utf8.length());
opt_file->Write(wxT("\n"));