PSPad CP autodetection is able recognize most of ANSI documents and correctly choose proper CP. It analyzes number and frequency of chars in documents according to language. It it fails, you still have possibility to change the code page manually.
-- <https://forum.pspad.com/read.php?2,77845,77856> PSPad freeware editor https://www.pspad.com