From d2f4cf6c2a69fd7e24baf2e68cc4fb0375509579 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 5 May 2014 02:27:48 +0000 Subject: [PATCH] do not fail for ascii characters that can be easily replaced (like with Farsi and Pashto) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6467 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/util.cpp b/Source/util.cpp index d5864af5..bc828ce1 100644 --- a/Source/util.cpp +++ b/Source/util.cpp @@ -471,7 +471,7 @@ void create_code_page_string(TCHAR *buf, size_t len, UINT code_page) _sntprintf(buf, len, _T("UTF-16%cE"), 1200 == code_page ? 'L' : 'B'); return; } - _sntprintf(buf, len, _T("CP%d"), code_page); + _sntprintf(buf, len, _T("CP%d//TRANSLIT"), code_page); } #ifdef _UNICODE void create_code_page_string(char*buf, size_t len, UINT code_page)