Win32: Unicode file name support (except dirent)
commit7a0550158a5e38655256167c78093c5917c89a68
authorKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:21:28 +0000 (15 18:21 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 20 May 2012 23:45:34 +0000 (20 17:45 -0600)
tree8e3dfad9daca19b59d7e6d17cd5e21eb9c6cb2f0
parent3cd966b4a98979fb50985e9984f08757d49df9de
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