// (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())