Chang the default encoding of notepad
来源:互联网 发布:网络律师 编辑:程序博客网 时间:2024/05/01 09:08
http://www.2cto.com/os/201205/132710.html
改Windows记事本(notepad)默认编码为Unicode或UTF-8的方法
Windows记事本默认编码ANSI无法满足需求, 每次都得“另存为”然后选择编码方式。
找到一解决方法如下:
1. 新建一个txt文档,不输入任何内容。然后“另存为”,将编码由默认的 ANSI 修改为 Unicode 或 UTF-8,并将新文档命名为 template.txt
2.将 template.txt 移动至系统目录 C:\Windows\addins\
3.新建文本文件 temp.txt ,复制一下内容至 temp.txt
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.txt\ShellNew] "FileName"="C:\\Windows\\addins\\template.txt"
将temp.txt 后缀改成 reg,双击导入注册表
4.此方法只适用于以“新建”右键菜单方式建立新文本文档,不适用于notepad.exe
0 0
- Chang the default encoding of notepad
- Default UTF-8 encoding for new Notepad documents
- Chang the PATH
- detect the encoding of files in Python
- Notepad-Encoding汉字
- The default parameter of python functions
- What is the purpose of /etc/default?
- Take care on the encoding of web server
- Why does Python print unicode characters when the default encoding is ASCII?
- Maven: Could not get the value for parameter encoding for plugin execution default-resources Plugin
- Could not get the value for parameter encoding for plugin execution default-resources Plugin org.apa
- Maven: Could not get the value for parameter encoding for plugin execution default-resources Plugin
- could not get the value for parameter encoding forplugin execution default resources 处理
- Could not get the value for parameter encoding for plugin execution default-resources Plugin
- What are the phases of the maven default lifecycle?
- What are the phases of the maven default lifecycle?
- [转]谨慎使用Encoding.Default
- Fix bug in the notepad tutorial of Android
- 最短路_POJ_3268
- CSS3 圆转动 特效
- BootStrap Panel
- iOS应用架构谈 开篇
- [LeetCode]Maximum Gapd
- Chang the default encoding of notepad
- 多线程-锁的类型 && CAS 非阻塞同步
- Fragment中menu菜单注意事项
- 利用UIScrollView实现图片的缩放
- [UVA1619]Feel Good[DP]
- 使用 Spring Security 保护 Web 应用的安全
- 『Others』【English】The road to enlarge my vocabulary
- [IOS]今天开始学UI---UIAlertController
- Linux下单节点伪分布式Hadoop的配置