`

改Windows记事本(notepad)默认编码为Unicode或UTF-8

 
阅读更多

 

1. 新建一个txt文档,不输入任何内容。然后“另存为”,将编码由默认的 ANSI 修改为 Unicode 或 UTF-8,并将新文档命名为 template.txt

2.将 template.txt 移动至系统目录 C:\Windows\addins\

3.新建文本文件 temp.txt ,复制一下内容至 temp.txt
  1. Windows Registry Editor Version 5.00  
  2.   
  3. [HKEY_CLASSES_ROOT\.txt\ShellNew]  
  4.   
  5. "FileName"="C:\\Windows\\addins\\template.txt"  

将temp.txt 后缀改成 reg,双击导入注册表

4.此方法只适用于以“新建”右键菜单方式建立新文本文档,不适用于notepad.exe
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics