[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Highwire coding question



> Any suggestions ?

The problem is that Highwire store the text as utf16 (see edit_char). 
> where strChunk is just the relevant portion of the 'input' string

And how you do that?

If it "strChunk = strncpy(input, start, end-start);" you copy not all
character, because strncpy copy bytes and not word. So that ist also wrong
"CHAR *   strChunk;", there must be "WCHAR".


Gerhard