Win32: Unicode file name support (except dirent)
commit03a102ff23637fcdeb5ac6a85d9b5b125748729f
authorKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:21:28 +0000 (15 18:21 +0100)
committerStepan Kasal <kasal@ucw.cz>
Wed, 16 Apr 2014 14:31:19 +0000 (16 16:31 +0200)
tree6199477a5be9c52d9f7bd63dbe17a9a9bd24885c
parenta3044f7d60b3de7a23a1e64794083c3fb0c2b6de
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