I am using a fairly recent trunk of wxLua with wxWidgets 2.9.4 and have 
found a problem with lua_PushString and GetStringType. lua_PushString 
relies on wxString to convert the wxString to char *. The default 
conversion uses c_str which causes a problem when converting non-ASCII 
characters. GetStringType uses lua2wx which by default converts from 
UTF8 to wxString.

For versions of wxWidgets before 2.9.0 lua_PushString uses wx2lua to 
convert the wxString to UTF8. Why is this disabled for 2.9.x?

Les

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to