解决macOS新建txt文档在Windows下不换行问题
时间:2023-04-09 07:17:05
在MacOS系统下编辑文本,然后到Windows系统的记事本里面发现文本内容不换行了,这是为啥呢?原因其实就是 MacOS 和 Windows的换行符不一样导致的
Windows系统里面,每行结尾是 回车 换行(CR LF),即“\r\n”
Mac系统里,每行结尾是 回车CR 即\'\r\'
Unix系统里,每行结尾只有 换行CR,即“\n”;
在Mac下可以直接通过下面两款APP新建在Windows里面用记事本打开也会自动换行的txt文本文档。
TextMate
如果你要在Mac下新建一个txt文档发送给Windows下的朋友打开,为了避免对方打开后不会显示换行,所以你可以直接在使用TextMate新建文本文档的时候保存为CRLF换行形式的文本就可以了
BBEdit
BBEdit的功能相比TextMate更加强大,比较适合需要专业文本代码编辑的用户使用,普通用户小编优先推荐使用TextMate。
使用BBedit新建支持CRLF换行方式的文本文档方法类似,保存的时候直接选择保存为Windows CRLF换行就行了。
标签:macOS新建txt文档在Windows下不换行,macOS新建txt文档常见问题
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word高效排序的方法!
2022-03-29 20:47:36
![](https://img.aspxhome.com/file/2023/5/24255_0s.jpg)
联想小新pro13升级win10专业版教程
2023-02-12 00:45:28
![](https://img.aspxhome.com/file/2023/30/a268082_0s.png)
Excel合并单元格无法筛选,怎么办?
2023-12-14 09:01:50
![](https://img.aspxhome.com/file/2023/7/a142187_0s.gif)
如何设置Sketch快捷键,Sketch提升效率的常用技巧
2022-08-28 23:40:44
![](https://img.aspxhome.com/file/2023/6/a213766_0s.png)
埋堆堆怎么投射电视?三个步骤轻松搞定
2023-02-13 08:30:44
![](https://img.aspxhome.com/file/2023/7/a331855_0s.jpg)
Win11中文打字只显示字母 Win11中文模式打出来是字母解决方法
2023-02-24 07:18:29
![](https://img.aspxhome.com/file/2023/27/a237173_0s.jpeg)
桌面上的图标不见了是什么原因该怎么解决
2022-06-10 19:54:03
INDEX、VLOOKUP、HLOOKUP、LOOKUP排排站,查询函数任你选
2022-08-02 02:59:59
![](https://img.aspxhome.com/file/2023/3/a142683_0s.png)
win10怎么关闭cortana小娜
2023-04-23 02:38:03
![](https://img.aspxhome.com/file/2023/1/a282381_0s.jpg)
华硕电脑加装硬盘后怎么修改启动项?
2022-12-20 17:49:27
![](https://img.aspxhome.com/file/2023/6/a321989_0s.png)
win10应用视图首先列出桌面中常用软件设置教程
2023-05-11 07:54:53
![](https://img.aspxhome.com/file/2023/3/a301089_0s.jpg)
Word的主文档是什么
2023-12-12 18:27:15
![](https://img.aspxhome.com/file/2023/4/20944_0s.jpg)
Arturia V Collection 7 v27.6.2020合集26种永恒的乐器,音乐家的必备良药!
2023-06-21 07:30:08
![](https://img.aspxhome.com/file/2023/6/a209966_0s.jpeg)
excel2007怎么冻结前两行不动?excel冻结窗格功能使用介绍
2023-11-11 02:39:57
![](https://img.aspxhome.com/file/2023/6/41836_0s.jpg)
Win10系统安装软件默认路径怎么从C盘更改到其他盘?
2022-07-16 21:57:26
![](https://img.aspxhome.com/file/2023/25/a218359_0s.png)
word怎样分段编号
2022-03-19 23:31:15
![](https://img.aspxhome.com/file/2023/9/35559_0s.png)
office2019怎么添加误差线? 图表添加误差线的技巧
2023-08-17 09:19:58
![](https://img.aspxhome.com/file/2023/8/15758_0s.jpg)
Win7系统电脑设置自动开机方法步骤详解
2023-12-27 19:54:30
![](https://img.aspxhome.com/file/2023/2/a286748_0s.jpg)
Win7系统取消休眠的解决方法
2022-06-16 23:33:45
![](https://img.aspxhome.com/file/2023/30/a266517_0s.png)
Win10卸载更新0x800f0905错误解决方法
2022-03-26 21:57:09
![](https://img.aspxhome.com/file/2023/26/a219271_0s.jpg)