[pygtk] gettext and Glade with win32
Cedric Gustin
cedric.gustin at swing.be
Fri Jun 10 14:30:25 WST 2005
Vincent Bernat wrote:
>>| #ifdef HAVE_BIND_TEXTDOMAIN_CODESET
>>| bind_textdomain_codeset(domainname, "UTF-8");
>>| #endif
>
> [...]
>
> Removing the condition solves the problem. Compiling pygtk from source
> is not as difficult as stated in :
> <URL:http://www.pcpm.ucl.ac.be/~gustin/win32_ports/>
I never said that it was difficult. Quoting myself :
"Using the provided distutils script, building pygtk should be as simple
as typing
1. python setup.py build --compiler=mingw32 to build the pyd files
2. python setup.py bdist_wininst to build the windows installer
"
> I have just put C:\Python24 and C:\MinGW\bin the PATH, installed
> gladewin32 and issued the command python setup.py --build
> --compiler=mingw32 --enable-threading. I have copied the resulting
> glade.pyd over the current one and no more UTF-8 problem.
About the HAVE_BIND_TEXTDOMAIN_CODESET macro not defined on win32, I
fixed the setup.py script in CVS HEAD and in the pygtk-2-6 branch.
I also updated the binaries on my page. Please test and report any problem.
Thanks for reporting this bug.
Cedric
More information about the pygtk
mailing list