Support for G_FILENAME_ENCODING=@locale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a7780bb4cc
commit
d24b23b76e
@ -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())
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user