Note
Firstly first I recommend you to simply use Notepad++ as a text editor or VSCode if you want a more developed one.
Explanation
But if you still wanna use Notepad for some reason, here is the way :
- Right click on Desktop, then choose New > Text Document
- A text file
New Text Document.txt
is created. Don't type anything and open it.
- Go to File > Save As... and choose UTF-8 under
Encoding:
, press Save
and overwrite the existing file. Close the file.
- Rename
New Text Document.txt
to TXTUTF-8.txt
- Copy
"TXTUTF-8.txt"
to C:\WINDOWS\SHELLNEW
- Go to
Start > Run...
and type regedit
and press ok
- Navigate to
HKEY_CLASSES_ROOT\.txt\ShellNew
- Right-click in the right window > New >
String Value
and rename it to FileName
- Double click on
FileName
and put TXTUTF-8.txt
into Value data:
field and press ok
Remember, whenever you want to open a blank utf-8 txt document you will have to right click > New > Text Document and work from there.
Modifying the registry can cause serious damage pay attention, please.
Source
From this thread.
Here is the Microsoft answer too
2Does central european necessarily mean UTF-8? – Journeyman Geek – 2017-05-14T09:57:30.450