From 1ad48afbfdce9b2e2cd9827dcb67e91b2d0adbd2 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 18 Nov 2004 09:50:11 +0000 Subject: [PATCH] avoid locale that always returns US-ASCII on wxMac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index f72741e85d..70f1a49cec 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -2185,6 +2185,9 @@ wxString wxLocale::GetSystemEncodingName() // FIXME: what is the error return value for GetACP()? UINT codepage = ::GetACP(); encname.Printf(_T("windows-%u"), codepage); +#elif defined(__WXMAC__) + // default is just empty string, this resolves to the default system + // encoding later #elif defined(__UNIX_LIKE__) #if defined(HAVE_LANGINFO_H) && defined(CODESET) -- 2.47.2