On Feb 5, 2008 6:57 AM, wlprg00 <[EMAIL PROTECTED]> wrote:
> Hi, I modified the wxLua's example with
> none-English words:
>
> frame = wx.wxFrame(wx.NULL, wx.wxID_ANY, "wxLua
> Демо",
>                    wx.wxDefaultPosition,
> wx.wxSize(450, 450),
>                    wx.wxDEFAULT_FRAME_STYLE)
>
...

> Under Windows works fine, however when I started under
> Linux, the none-English words disappeared.
> Any ideas how this can be fixed?

The Lua ANSI C strings to wxWidgets ANSI or Unicode strings are done
in the functions lua2wx() and wx2lua() at the top of
modules/wxlua/include/wxlstate.h.

Try to compile your Linix version of wxWidgets and wxLua for Unicode
since it works for me that way. I do not have wxWidgets compiled in
ANSI mode, could you please try the "minimal" wxWidgets sample with
some of the characters above and see if it works in C++?


Regards,
    John
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to