This assumes you have enabled the option "Ident.bytes in UTF-8 coding" in
Program settings > Program (part 2).

_Steps to reproduce the problem:_

1. Launch PSPad with no opened files
2. In the "Format" menu, choose UTF-8
3. Now open a file that is in plain ASCII (no BOM, no special characters, just
plain ASCII)
4. Hit Ctrl+S (Save the file)

_Result:_
The ASCII file was silently converted to UTF-8. It now has the BOM at the
beginning.

_Sugested solution:_
When the encoding can't be determined, assume ANSI, not the last chosen option
in the Format menu.

-- 
<http://forum.pspad.com/read.php?2,64085,64085>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem