Hi John, > I honestly don't know. Did you try to call wxSTC::AddTextRaw(const char*)? > This function does not do any UTF8 conversions before passing the string to > Scintilla.
It worked! I wasn't aware of *TextRaw methods and they do exactly what's needed in this case. The only issue is that you don't provide GetTextRaw, so I can show the file, but can't save proper results (as they get mangled into a "fixed" UTF-8 when I use GetText()). I only see AddTextRaw and InsertTextRaw in wxlua; there seems to be GetTextRaw, SetTextRaw, AppendTextRaw, and GetSelectedTextRaw missing from wxlua. Would it be possible to add them? Thank you! Paul. ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users