Win32: Unicode file name support (except dirent)
commit65d4a2c537e932c5f7d7f7fc95bb3223828576bd
authorKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:21:28 +0000 (15 18:21 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:30:22 +0000 (22 13:30 +0100)
treec7ec15f7dbd37caad8ccbb83a0478a84f659e035
parent94a3822a16c5b7fe02e54a6f1ef5bc1f88787f7e
Win32: Unicode file name support (except dirent)

Replaces Windows "ANSI" APIs dealing with file- or path names with their
Unicode equivalent, adding UTF-8/UTF-16LE conversion as necessary.

The dirent API (opendir/readdir/closedir) is updated in a separate commit.

Adds trivial wrappers for access, chmod and chdir.

Adds wrapper for mktemp (needed for both mkstemp and mkdtemp).

The simplest way to convert a repository with legacy-encoded (e.g. Cp1252)
file names to UTF-8 ist to checkout with an old msysgit version and
"git add --all & git commit" with the new version.

Signed-off-by: Karsten Blees <blees@dcon.de>
compat/mingw.c
compat/mingw.h