1. Open Notepad to create a new blank text document, do not enter any text, and then save the document and encode it in the Save As dialog box
The default ANSI is modified to Unicode or UTF-8, followed by the name of the file, where the new document is assumed to be named Unicode. Txt.
2. Copy the utf-8.txt to the implied system folder C:\Windows\ShellNew.
3. Open Registry Editor, navigate to: Hkey_classes_root\.txt\shellnew, create a new string value named FileName,
Set this string value to Utf-8.txt
The purpose of the above approach is to be. TXT text File "new" template Shellnew set to our custom Unicode-encoded saved
A blank text file. This way, if we create a new text document using the new-text document in the right-click menu of the Resource Manager,
Windows will automatically be C:\Windows\ShellNew\UNICODE. TXT as a template to create a new text document, the default encoding of the document
It becomes Unicode.
However, this method only applies to creating a new text document in the New Right-click menu mode. If we start Notepad from the Start menu first,
Then create a new text document, C:\Windows\ShellNew\UNICODE. The TXT template is not used, and the new text document remains
The default ANSI encoding will also be used.
Windows Settings new text document default encoding UTF-8