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
This commit is contained in:
kichik 2014-05-05 02:27:48 +00:00
parent f97fc86fab
commit d2f4cf6c2a

View file

@ -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)