PSPad detects non text chars and if finds it in file, PSPad opens it in HEX editor to prevent file damage. You can switch off this detection - see the answer from VBR above.
-- <https://forum.pspad.com/read.php?2,70307,70309> PSPad freeware editor https://www.pspad.com
