Empty file with UTF-8 encoding was special case. 
I tested if file size > 0B and after loading editor is empty. In this case I
open file as ANSI. I will handle files with BOM only.

-- 
<http://forum.pspad.com/read.php?4,68764,69066>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem