CR LF,LF和CR换行类型之间的区别? [英] Difference between CR LF, LF and CR line break types?

查看:154
本文介绍了CR LF,LF和CR换行类型之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道CR LF(Windows),LF(Unix)和CR(Macintosh)换行类型之间的区别(如果可能,还带有示例).

I'd like to know the difference (with examples if possible) between CR LF (Windows), LF (Unix) and CR (Macintosh) line break types.

推荐答案

实际上是关于文件中存储哪些字节. CR是用于回车(从打字机起算)的字节码,而LF是用于换行的字节码.它只是指作为行尾标记放置的字节.

It's really just about which bytes are stored in a file. CR is a bytecode for carriage return (from the days of typewriters) and LF similarly, for line feed. It just refers to the bytes that are placed as end-of-line markers.

与往常一样,在维基百科上提供更多信息.

Way more information, as always, on wikipedia.

这篇关于CR LF,LF和CR换行类型之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆