右击新建的记事本文本文件 encoding 为 utf-8
步骤
新建一个 txt 文档作为模板文件。
在“另存为”中将编码由默认的 ANSI 修改为 Unicode 或 UTF-8
并将新文档命名为 template.txt
复制 template.txt 到系统目录 C:\Windows\addins\
另新建 tmp.txt 添加以下文本,改名 tmp.reg 执行注册表导入
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"FileName"="C:\\Windows\\addins\\template.txt"