How to set "UTF-8 WITH BOM" as default Encoding even for old but changed textfiles?
-
As I found out I can change the default encoding for new text documents in
Preferences—New Document—Encoding
by enabling “UTF-8 with BOM”
Unfortunately this works only for new, really new documents.
When I load an existing old file (with UTF-8 only), then change something and save it, the old encoding remains.
How can I tell NP++ to apply the new default encoding to changed old files too?
If possible an additional option for this should be added to the next release.
Thank you
-
@Claudia-Svenson said:
How can I tell NP++ to apply the new default encoding to changed old files too?
I don’t believe this is possible.
If possible an additional option for this should be added to the next release.
This is IMO a dubious need.
For your use, perhaps a script that does an encoding conversion upon save would be beneficial?