Freeman: -------------------------------------------------------------------------------- pspad: -------------------------------------------------------------------------------- If file doesn't contains BOL or any char with value above 127, the content of file is same with ANSI and UTF-8. In this case there is no possibility how to detect content of the file.-------------------------------------------------------------------------------- In this case, is it better to prefer UTF-8 over ANSI and force file as UTF-8...?-------------------------------------------------------------------------------- ^^This. Or rather use the default encoding set in the settings dialog whenever possible.
-- <https://forum.pspad.com/read.php?6,69399,69777> PSPad freeware editor https://www.pspad.com