From 479d892f7889ac0e9e7882583c4bdb1153c488ed Mon Sep 17 00:00:00 2001 From: pescuma Date: Sun, 25 Jan 2009 03:07:19 +0000 Subject: utils: fix for codepage git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@136 c086bb3d-8645-0410-b8da-73a8550f86e7 --- Plugins/utils/utf8_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugins/utils/utf8_helpers.h') 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; -- cgit v1.2.3