I edited the following batch file in notepad. At the bottom-right corner of notepad, it showed "UTF8". I saved the file in ANSI format.
Now, the bottom-right corner of notepad showed "ANSI". I closed the file and re-opened it. Notepad showed "UTF8" at the bottom-right corner. I have repeated the above process several times and got the same result each time.
Is it an ANSI file or UTF8 file?
Or maybe what's shown at the bottom-right corner of notepad doesn't mean anything?
This is on Windows 11 Pro 23H2 built 22631.3296 Windows Feature Experience Pack 1000.22687.1000.0. Windows Notepad 11.2401.26.0
[Sorry! Forgot to add the file]
date /t >C:\health.txt
time /t >>c:\health.txt
sfc /scannow >>c:\health.txt
time /t >>c:\health.txt
sfc /scannow >>c:\health.txt
time /t >>c:\health.txt