From: Duncan C. <dun...@gm...> - 2009-06-11 22:24:15
|
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? Thank you, -Duncan |