mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
The mm_io_c classes expect file names encoded in UTF-8.
This commit is contained in:
parent
68668a49fe
commit
299aaebd2e
@ -1,3 +1,8 @@
|
||||
2005-08-31 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvinfo: bug fix: The GUI couldn't open files with non-ASCII
|
||||
chars in the file name.
|
||||
|
||||
2005-08-30 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: Display dimensions were reported for all
|
||||
|
@ -149,11 +149,8 @@ mi_frame::mi_frame(const wxString &title,
|
||||
void
|
||||
mi_frame::open_file(wxString file_name) {
|
||||
string cfile_name;
|
||||
#if WXUNICODE
|
||||
cfile_name = from_utf8(cc_local_utf8, wxMB(file_name));
|
||||
#else
|
||||
|
||||
cfile_name = wxMB(file_name);
|
||||
#endif
|
||||
tree->DeleteAllItems();
|
||||
item_ids[0] = tree->AddRoot(file_name);
|
||||
last_percent = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user