Win32: Unicode file name support (except dirent)
commit19d1e75d58d772329372d453ead964c813bbc6b6
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 20:28:22 +0000 (14 21:28 +0100)
committerKarsten Blees <blees@dcon.de>
Sat, 4 Feb 2012 20:45:43 +0000 (4 21:45 +0100)
tree2de69647074549cb41765e4d8f709e3a5a098ee5
parentc5d4ecfed65025c3bc9d08e37ebee4baa66034d6
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