Monday, 3 June 2019

character encoding - How can I enforce so Notepad++ uses UTF-8 every time I create a new file?


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?



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


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...