From: John L. <jla...@gm...> - 2014-04-04 04:28:30
|
On Wed, Apr 2, 2014 at 12:49 PM, Paul K <pau...@ya...> wrote: > 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! > > I remmed them out, but I don't remember why. I added them back in SVN. John |