Win32: Unicode file name support (except dirent)
commit3472c54485f90beb2fe4744e74133bcf94c50619
authorKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:21:28 +0000 (15 18:21 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 13 Sep 2013 08:36:40 +0000 (13 09:36 +0100)
tree159b171c2d4fd4cd89f27f0d484ccbda8c5296ec
parent46149508247e3a73ebf73d651afd191589a5c347
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