改Windows记事本(notepad)默认编码为Unicode或UTF-8的方法
2584 点击·0 回帖
![]() | ![]() | |
![]() | 改Windows记事本(notepad)默认编码为Unicode或UTF-8的方法 Windows记事本默认编码ANSI无法满足Linuxer, 每次都得“另存为”然后选择编码方式。 找到一解决方法如下: 1. 新建一个txt文档,不输入任何内容。然后“另存为”,将编码由默认的 ANSI 修改为 Unicode 或 UTF-8,并将新文档命名为 template.txt 2.将 template.txt 移动至系统目录 C:\Windows\addins\ 3.新建文本文件 temp.txt ,复制一下内容至 temp.txt [plain] www.atcpu.com Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.txt\ShellNew] "FileName"="C:\\Windows\\addins\\template.txt" 将temp.txt 后缀改成 reg,双击导入注册表 4.此方法只适用于以“新建”右键菜单方式建立新文本文档,不适用于notepad.exe | |
![]() | ![]() |