[GnuWin32-Users] [gnuwin32 - Help] [Help] Gettext and VS8

2007-11-28 Thread SourceForge.net
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4647235 By: christianhan I'm currently trying to create a project in Visual C++ on MFC that uses .po files to handle its translations. I have tried to integrate GnuWin32 Gettext but have met with several obstac

[GnuWin32-Users] [gnuwin32 - Help] RE: [Help] Gettext and VS8

2007-11-28 Thread SourceForge.net
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4647328 By: tml1024 There are two issues here that you need to understand: Firstly the setlocale() function in the Microsoft C library does not accept locale strings in the same syntax as its counterparts on L

[GnuWin32-Users] [gnuwin32 - Help] RE: [Help] Gettext and VS8

2007-11-28 Thread SourceForge.net
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4647342 By: tml1024 > The thread locale affects locale-specific things in the Win32 API, but not the C library. That is not entirely true. I forgot to mention that when you call setlocale(LC_ALL, ""), it is f

[GnuWin32-Users] [gnuwin32 - Help] RE: [Help] Gettext and VS8

2007-11-28 Thread SourceForge.net
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4649136 By: christianhan Thanks for the quick reply. Using SetThreadLocale() solved both of my problems. I also found that using bind_textdomain_codeset() isn't necessary. The test program was especially helpfu