summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Plugins/utils/utf8_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/utils/utf8_helpers.h b/Plugins/utils/utf8_helpers.h
index 2b08630..149efcf 100644
--- a/Plugins/utils/utf8_helpers.h
+++ b/Plugins/utils/utf8_helpers.h
@@ -149,7 +149,7 @@ public:
if (tmp == NULL)
throw _T("mir_alloc returned NULL");
- MultiByteToWideChar(CP_UTF8, 0, str, -1, tmp, size);
+ MultiByteToWideChar(CP_ACP, 0, str, -1, tmp, size);
tchar = tmp;