Hi, John Labenski yazmış: > On Feb 12, 2008 3:05 AM, Hakkı Doğusan <[EMAIL PROTECTED]> wrote: >>[snip] > > The more I read about Unicode it seems like this is all we need. > 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 > > inline WXDLLIMPEXP_WXLUA wxString lua2wx(const char* luastr) > { > return wxString(luastr, *wxConvCurrent); > } > > inline 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. >
(note: inline added) - xp, ubuntu-7.10, both in Turkish - using wxLuaModule (wx-2.8.7 static, wxLua static, monolithic, unicode) - tested with an inhouse project, which uses - wxLocale for translations - sqlite3 (stores in utf8) It seems work here.. > Regards, > John -- Regards, Hakki Dogusan ------------------------------------------------------------------------- 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