[color=#808080]I have made another attempt. The current file was externally converted to UTF-8 BOM and then read in via ADODB.Stream, etc. - Unfortunately also unsuccessfully, there are other problems with it.[/color]
Can you implement an additional function in VBScript to reload the current file and keep the undo's? -- <https://forum.pspad.com/read.php?2,74331,74343> PSPad freeware editor https://www.pspad.com