X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/845905d5881df6f550e801c76fef197d0ee68b50..e9247fdad93984e7fe5b12dea148f143d608e2f1:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index c9f166377f..8932e2198d 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -612,6 +612,8 @@ bool wxApp::Initialize(int& argc, wxChar **argv) // (1) this variable exists for the sole purpose of specifying the encoding // of the filenames for GTK+ programs, so use it if it is set wxString encName(wxGetenv(_T("G_FILENAME_ENCODING"))); + if (encName == _T("@locale")) + encName.clear(); encName.MakeUpper(); #if wxUSE_INTL if (encName.empty())