I have same issue. Really annoying. Bug seems to be in the html extention, in my case, maybe for other extentions too
I open in Notepad document.html and it opens as ISO-8859-1, even if saved in UTF-8
I save document.html (forced to UTF-8, looking good) as document.txt
I close document.txt
I re-open document.txt and it is OK, ndp recognizes UTF-8
But... I re-save document.txt onto document.html (original name or any other name with html extention), when I re-open document.html ndp reopens it in ISO-8859-1. Bad.
I tried simply renaming (not saving as) document.txt file to document.html and same issue opening it in ndp. Renaming in Windows explorer doesn't fix it.
So I guess there must be some hidden special chars that make ndp bug, because it only happens to me with specific html files, not for all html files. And I found no way to detect those bad chars on ndp. There must be an option on grep command on Linux, as in link . It could be a Windows system problem too, as ndp uses his libraries.