mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 06:15:24 +00:00
Escape strings when putting them into option files
This commit is contained in:
parent
bd1e211e76
commit
7a9be8cb6f
@ -314,7 +314,7 @@ tab_input::add_file(const wxString &file_name,
|
||||
}
|
||||
|
||||
opt_file->Write(wxT("--output-charset\nUTF-8\n--identify-for-mmg\n"));
|
||||
arg_utf8 = wxMB(file_name);
|
||||
arg_utf8 = escape(wxMB(file_name));
|
||||
opt_file->Write(arg_utf8.c_str(), arg_utf8.length());
|
||||
opt_file->Write(wxT("\n"));
|
||||
delete opt_file;
|
||||
|
Loading…
Reference in New Issue
Block a user