Hello @veridigital and All,
I think, indeed, that @veridigital asks a rather embarrassing question…
If we suppose that the problem of the NUL characters, following a power cut, comes from a setting, concerning the writing on the HDD, how to explain that it acts, specifically, on the files opened in Notepad++ ?
In theory, corruptions should occur, in a random way, on any file opened by any software !?
Seemingly, the NUL bytes story is not ended ;-)) It’s really irritating !
Best Regards,
guy038
P.S. :
Reading the @peterjones answer more carefully, I understand that Notepad++ is based on MS API. But it should certainly not be the only software ! Also, why should problems privilege Notepad++ files ?