How to enforce so Notepad++ uses UTF-8 every time I create a new file

character encodingnotepadutf-8

I want to use the character encoding UTF-8 (without BOM) on my files. I can change the encoding from the "Format" menu, but it is reset every time I create a new file or open a file.

How can I do so Notepad++ uses UTF-8 (without BOM) as default encoding?

Best Answer

Go to

Settings -> Preferences -> New Document/ Open Save Directory

and then in

New Document -> Encoding check UTF8 without BOM

You might also want to tick "Apply to opened ANSI files":

screenshot notepad settings

Related Question