On Fri, Apr 20, 2012 at 1:49 AM, strawman <straw...@lavabit.com> wrote:
>> What is the text that you are trying to use?
>
> require"wx"
> a = wx.wxTextEntryDialog(wx.wxFrame(), "test тест テスト")
> a:ShowModal()
> print(a:GetValue())
>
> The caption appears as "test" and then garbage characters, and if I
> paste "test тест テスト" into the dialog, GetValue returns nil under 2.8
> and an empty string under 2.9.  "test" on its own works as expected.

Sorry about the delay, I committed a fix to SVN that I hope should
work. We've gone through this before, but I think this time it's
right. Now we always treat Lua as UTF8.

Note that it only works with wxWidgets built in Unicode mode and has
been tested in 2.8 and 2.9 in GTK and MSW.

Regards,
     John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to