On Thu, Jun 28, 2012 at 2:01 PM, João Mendes <lor...@gm...> wrote:
> Hi list,
>
> After i have managed to successfully compile wxLua with wxWidgets 2.9.3, now
> face another problem.
> For the compilation to work I had to use the parameter UNICODE = 1 in the
> makefile.
Glad you got it working, too bad about the ANSI build with MinGW, it
does build in ANSI with Visual Studio.
> However when using unicode now I can not work with accents.
> I tried to run a simple wxMessageBox without sucess.
>
> wx.wxMessageBox( 'My Name Is João Mendes \nOlá Mundo!' )
>
> I suspected this might happen so I did not want to build with UNICODE = 1.
Download these and try it. It works correctly if pasted into a file as
UTF8 with the Unicode build.
https://sourceforge.net/projects/wxlua/files/wxlua/2.8.12.0/
> I believe that changing the encoding of source files will solve the problem,
> but I have many sources, since i used the wxLua without UNICODE.
I bet that wxWidgets will sort out that build issue shortly.
Regards,
John