Hi, Andre wrote: > Hakki Dogusan <[EMAIL PROTECTED]> writes: > >> (From my old message. Maybe it works for you too.) >> >> Changed lua2wx, wx2lua and wxLuaCharBuffer's ctor as follows: >> > > > I change lua2wx this way trying to maintain UTF8 support > > inline WXDLLIMPEXP_WXLUA wxString lua2wx(const char* luastr) > { > if (luastr == NULL) return wxEmptyString; // check for NULL > > wxString str; > #if wxUSE_UNICODE > str = wxString(luastr, wxConvUTF8); > #else > str = wxString(wxConvUTF8.cMB2WC(luastr), *wxConvCurrent); > #endif // wxUSE_UNICODE > if (str.IsEmpty()) > str = wxConvertMB2WX(luastr); > return str; > } > > After reading your message I realize that wx2lua should also be modified. > > Andre > >
Could we all put our changes about this subject? (I was send some code from other projects using wx) Maybe we can reach a common solution and stop modifying wxLua? What do you think? -- Regards, Hakki Dogusan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users