fs/Charset: hard-code Windows to ACP

Don't define HAVE_FS_CHARSET, and make GetFSCharset() return "ACP"
instead of "UTF-8".  Ignore the configuration setting, which had no
effect anyway.
This commit is contained in:
Max Kellermann
2015-06-22 22:20:10 +02:00
parent 2aa54c5365
commit 73bd6af0f9
3 changed files with 5 additions and 15 deletions

View File

@@ -71,6 +71,8 @@ GetFSCharset()
{
#ifdef HAVE_FS_CHARSET
return fs_charset.empty() ? "UTF-8" : fs_charset.c_str();
#elif defined(WIN32)
return "ACP";
#else
return "UTF-8";
#endif