Notepad default UTF-8

1. Right click -> New -> Text Document

2. Open “New Text Document.txt". Do NOT type anything!

3. Go to “File -> Save As… " and choose UTF-8 under “Encoding:", press “Save" and overwrite existing file. Close the file.

4. Rename “New Text Document.txt" to “TXTUTF-8.txt"

5. Copy “TXTUTF-8.txt" to “C:WINDOWSSHELLNEW"

6. Go to “Start -> Run…" and type

———

regedit

———

Press OK.

7. Navigate to

——————————————-

HKEY_CLASSES_ROOT.txtShellNew

——————————————-

8. Right click in the right window -> New -> “String Value" and rename it to

———–

FileName

———–

9. Double click on “FileName" and put

—————-

TXTUTF-8.txt

—————-

into “Value data:" field and press OK.

10. It’s finished.

11. Test it: Create new .txt document (Right click -> New -> Text Document). Open it and go to “File -> Save As… " and see that encoding is set by default to UTF-8 .