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:
Václav Slavík
2001-06-12 22:53:38 +00:00
parent b7fa390b64
commit ecffe99226
2 changed files with 16 additions and 16 deletions

View File

@@ -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)