8

Each time I create a new file in Notepad2, the encoding is ANSI (1252).
I'd like instead to have UTF-8 as default. Is there a way to get this ?

Henke
  • 1,261

3 Answers3

7
File → Encoding → Default... → UTF-8

If the change doesn't stick when you restart Notepad2 change the default again and then try :

Settings -> Save Settings Now

This is using Notepad2 v4.2.25

grawity
  • 501,077
1

File -> Settings -> Preferences -> New Document, check UTF-8.

image

Gareth
  • 19,080
harrymc
  • 498,455
0

Run notepad2.exe with a parameter. Example in command prompt or other program:

Notepad2.exe /utf8 MyAnsiiFile.txt

This opens and loads an ASCII file and converts it to a UTF-8 file. Then, you need only to close Notepad2 and save.

notepad2 version 4.2.25

Excellll
  • 12,847