Hex Editor - Binary File Editing Software for Windows
Pastes text from the Clipboard to the given position. Pasted data either ovewrites the current document's data, or is inserted into the document, shifting existing data forward, depending on the InsertMode parameter.
Hex Editor Neo uses the CodePage to convert the text in the Clipboard. Pass the CP_UNICODE (hardcoded as -5) to specify the UTF-16 encoding.
This method requires the CF_UNICODETEXT format to be present in the Clipboard in order to convert to the given encoding. If only CF_TEXT is available, than it operates exactly like the IFileDocument.PasteText method.