Closed klonos closed 11 years ago
Unless a patch is provided nothing can be fixed. And/or Report it to the Notepad2 developer.
Windows notepad save file as UTF-8 with BOM (or "UTF-8 Signature" in Notepad2), other than "UTF-8" in Notepad2.
Still. No patch, no joy.
The point of the signature is to let editors know that it's UTF-8 encoded when there are no multi-byte characters. Whether it defaults to UTF-8 or ANSI in such instances where it is otherwise impossible to tell is already a setting in Notepad2.
Go to File->Encoding->Default
and choose UTF-8
from the dropdown.
This also means that if you save a blank file as ANSI, it will now be opened as UTF-8.
Again, though, if you want to avoid these problems of it not being able to tell how to encode the file, then use UTF-8 with signature. That's the point of the signature.
@XhmikosR shouldn't this be closed and marked as "invalid" as explained above? Or is there something I'm missing?
I guess so, yes.
Steps to reproduce:
Expected result: the file should be in UTF-8 Actual result: the file is reverted to ANSI
Another way:
Expected result: the file should be in UTF-8 Actual result: the file is reverted to ANSI