int w=win("" "Notepad++") int c=child("" "Scintilla" w) str newText="abc αβγ" ;;if αβγ is garbage, Notepad++ is not using UTF-8 text encoding or QM is not in Unicode mode __ProcessMemory pm.Alloc(c newText.len+1) pm.WriteStr(newText) SendMessage c SCI.SCI_SETTEXT 0 pm.address