I am using version 3.7.5 from PowerBuilder which is always Unicode.
My problem is that when editing Unicode files, I can only find normal strings. I am trying to find » (C2 BB) and it returns -1. I have tried Notepad++ (version 3.5.6 of SciLexer.dll) and it finds the string so apparently I am doing something wrong.
This is the declaration of the function I am using to send the SCI_SEARCHINTARGET command:
Function long SciSendBlob(long hSciWnd, uint Msg, long wParam, Ref blob lParam) Library "SciLexer.dll" Alias For "Scintilla_DirectFunction"
Before calling the function, I convert the search string into a UTF8 blob. I have verified that the blob is two bytes long but the debugger doesn't show contents of blob variables.
Before loading the file with SCI_SETTEXT I set code page to 65001. Is there another command I should use to set it to Unicode mode?
Thanks!