On Feb 18, 2008 12:06 AM, marcos <[EMAIL PROTECTED]> wrote: > > John Labenski escreveu: > > http://www.wxwidgets.org/manuals/stable/wx_wxstring.html#wxstring > http://www.wxwidgets.org/manuals/stable/wx_unicode.html#unicode > http://www.wxwidgets.org/manuals/stable/wx_mbconvclasses.html#mbconvclasses > http://www.wxwidgets.org/manuals/stable/wx_wxmbconv.html#wxmbconv > > WXDLLIMPEXP_WXLUA wxString lua2wx(const char* luastr) > { > return wxString(luastr, *wxConvCurrent); > } > > const WXDLLIMPEXP_WXLUA wxCharBuffer wx2lua(const wxString& wxstr) > { > wxCharBuffer buffer(wxstr.mb_str(*wxConvCurrent)); > return buffer; > } > > Hakký, could you try these and let me know if they work. > > Regards, > John > > The more I read about Unicode it seems like this is all we need. > After (Hakki's) inline ... > It seems work. > > - win2000, in Brazilian-Portuguese > - using the VC6 [win32 release multilib] project (not unicode).
Ok... lets cross our fingers that it really is that simple. I will try some other tests in the next week. 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