winpty/unix-adapter
Johannes Schindelin ec385e8d1b Set the appropriate locale
By calling `setlocale(LC_ALL, "");`, we give the user a chance to
override the ASCII-only default so that non-ASCII arguments are
converted into UTF-16 properly, which is required to pass them
correctly to the actual Win32 executable.

This is necessary because POSIX dictates that we start up with the C
locale, ignoring all environment variables, until that `setlocale()`
call.

This fixes https://github.com/git-for-windows/git/issues/412

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-09-23 15:39:41 +00:00
..
main.cc Set the appropriate locale 2015-09-23 15:39:41 +00:00
Makefile unix-adapter: Link statically with cyggcc_s-1.dll and cygstdc++-6.dll. 2012-12-20 04:07:55 -08:00
Shared.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00