On Thu, Jun 11, 2009 at 6:24 PM, Duncan Cross<duncan.cr...@gmail.com> wrote: > Hi List, > > I'm trying to get my wxSTC to show Unicode characters in a UTF-8 > document, and from reading around it looked like the way to do this is > to call (where "stc" is the control itself): > > stc.CodePage = wxstc.wxSTC_CP_UTF8; > > ...but while this initially seemed to have no effect, I realised that > it had - even though it's still showing several garbage characters > instead of a single Unicode one, if I move the cursor with the cursor > keys, it treats each multi-byte sequence as a unit. It just isn't > rendering properly.Does anyone have an example of a wxStyledCtrl > successfully using UTF-8 characters with wxLua?
Sorry, I don't have any experience with this, but you can at least see if scite, the editor that the authors of Scintilla wrote, can handle it. Regards, John ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users