Share

FOX GUI Toolkit

Tracker: Bugs

5 Charset error with MinGW + MSys - ID: 1957505
Last Update: Comment added ( progchild )

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


progchild ( progchild ) - 2008-05-04 21:56

5

Open

None

Nobody/Anonymous

FOX Library

None

Public


Comments ( 2 )




Date: 2008-05-04 22:18
Sender: progchild


I forgot to mention, that I used FOX 1.6.33. The Patch is also for this
version of FOX.


Date: 2008-05-04 21:59
Sender: progchild


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


Log in to comment.

Attached File ( 1 )

Filename Description Download
msys-patch.diff configure.in Patch Download

Change ( 1 )

Field Old Value Date By
File Added 276817: msys-patch.diff 2008-05-04 21:56 progchild