standardized encoding names to windows-12xx and iso-8859-x forms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -932,7 +932,7 @@ wxString wxLocale::GetSystemEncodingName()
|
||||
#ifdef __WIN32__
|
||||
// FIXME: what is the error return value for GetACP()?
|
||||
UINT codepage = ::GetACP();
|
||||
encname.Printf(_T("cp%u"), codepage);
|
||||
encname.Printf(_T("windows-%u"), codepage);
|
||||
#elif defined(__UNIX_LIKE__)
|
||||
|
||||
#if defined(HAVE_LANGINFO_H) && defined(CODESET)
|
||||
|
Reference in New Issue
Block a user