diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 2a403b1a4d..a0db944983 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -400,7 +400,7 @@ public: for ( int i = 0; i < m_argc; i++ ) { - m_argv[i] = wxStrdup(args[i]); + m_argv[i] = wxStrdup(args[i].mb_str(wxConvWhateverWorks)); } }