From 495060a525513654e6d5ab39f24571c053b3b67b Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 5 Sep 2010 22:09:13 +0300 Subject: modified: gpg_wrapper.cpp modified: main.cpp modified: options.cpp modified: utilities.cpp --- gpg_wrapper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gpg_wrapper.cpp') diff --git a/gpg_wrapper.cpp b/gpg_wrapper.cpp index df3e1fa..9c43777 100644 --- a/gpg_wrapper.cpp +++ b/gpg_wrapper.cpp @@ -93,8 +93,7 @@ pxResult pxExecute(wstring *acommandline, char *ainput, string *aoutput, LPDWORD gpg_mutex = CreateMutex(NULL, FALSE, NULL); - setlocale( LC_ALL, "C" ); - success = CreateProcess(NULL, (TCHAR*)commandline.c_str(), NULL, NULL, TRUE, CREATE_NEW_CONSOLE, NULL, NULL, &sinfo, &pri); + success = CreateProcess(NULL, (TCHAR*)commandline.c_str(), NULL, NULL, TRUE, CREATE_NEW_CONSOLE | CREATE_UNICODE_ENVIRONMENT, _T("LANGUAGE=en@quot\0"), NULL, &sinfo, &pri); if (!success) { -- cgit v1.2.3