The mm_io_c classes expect file names encoded in UTF-8.

This commit is contained in:
Moritz Bunkus 2005-08-31 06:59:57 +00:00
parent 68668a49fe
commit 299aaebd2e
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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;