Unicode fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6216 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
615ce82030
commit
382b2fa282
11 changed files with 150 additions and 49 deletions
|
@ -277,6 +277,9 @@ int _tmain(int argc, TCHAR **argv)
|
|||
int in_files=0;
|
||||
|
||||
#ifdef _UNICODE
|
||||
#if (defined(_MSC_VER) && (_MSC_VER<=1200))
|
||||
const int _O_U8TEXT=0x40000; // BUGBUG: This is bogus
|
||||
#endif
|
||||
_setmode(_fileno(stdout), _O_U8TEXT); // set stdout to UTF-8
|
||||
#ifdef _WIN32
|
||||
g_initialCodepage = GetConsoleOutputCP();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue