I compiled FOX with Mingw and MSys (a Bash environment for MS Windows). With the command:
$ ./configure --enable-shared --prefix=/mingw
$ make
When running the dirlist.exe the filenames containing non ASCII characters wheren't correctly displayed. I found out, that in the other Windows Makefiles, a Compiler Define "UNICODE" is defined, wich is not defined by the configure script.
The configure script must be changed, to correctly set this define.
if test "x$CYGWIN" = "xyes" -o "x$MINGW32" = "xyes" ; then
# use Win32 Unicode
AC_DEFINE(UNICODE)
fi
configure.in Patch
Logged In: YES
user_id=1141613
Originator: YES
To apply the patch run the following command in the same directory, where the configure.in script is.
$ patch -i msys-patch.diff
Yours sincerely,
Hendrik Rittich
Logged In: YES
user_id=1141613
Originator: YES
I forgot to mention, that I used FOX 1.6.33. The Patch is also for this version of FOX.