diff --git a/src/mmg/mmg.cpp b/src/mmg/mmg.cpp index 4855b3f37..ce373436a 100644 --- a/src/mmg/mmg.cpp +++ b/src/mmg/mmg.cpp @@ -1104,7 +1104,7 @@ mmg_dialog::update_command_line() { old_cmdline = cmdline; cmdline = wxT("\"") + mkvmerge_path + wxT("\" -o \"") + - tc_output->GetValue() + wxT("\" ") + wxT("--command-line-charset UTF-8 "); + tc_output->GetValue() + wxT("\" "); clargs.Clear(); clargs.Add(mkvmerge_path); @@ -1365,14 +1365,6 @@ mmg_dialog::update_command_line() { cmdline += wxT(" ") + shell_escape(clargs[i]); } -#if WXUNICODE - string utf8, tmp; - utf8 = to_utf8(cmdline); - tmp = to_utf8(utf8_init("ISO8859-1"), utf8.c_str()); - cmdline = wxU(tmp.c_str()); -#else - cmdline = to_utf8(cmdline).c_str(); -#endif if (old_cmdline != cmdline) tc_cmdline->SetValue(cmdline); }