Hi John,
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.
Looks good. Thank
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
Hi John,
Yes, note that From8BitData() is static and To8BitData() is not.
Thank you for the prompt change! Unfortunately, it didn't have the
desired effect for me; maybe I misread wxwidgets documentation.
Let's say I have three invalid UTF-8 characters: string.char(0x80,
0x81, 0x82). If I
On Wed, Feb 19, 2014 at 1:27 AM, Paul K paulclin...@yahoo.com wrote:
Do we also get To8BitData(), as I may need it to save the data back to a
file?
Yes, note that From8BitData() is static and To8BitData() is not.
Regards,
John
Hi John,
I'm looking for a way to handle (possibly) invalid UTF-8 characters
and seem to be missing wxString::From8BitData() and
wxString::To8BitData() methods (according to this page:
http://docs.wxwidgets.org/trunk/overview_unicode.html#overview_unicode_supportout).
What I am trying to do is
Hi John,
I'm no expert in UTF8, but isn't it possible that a malformed UTF8 sequence
makes the rest of the file unusable in the sense that you can't really be
sure how many bytes the 'bad' sequence is so you could be off by a few bytes
for the rest of the file?
Not really, as you can