aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/crlf
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/glossary/crlf
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/glossary/crlf')
-rw-r--r--files/zh-cn/glossary/crlf/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/crlf/index.html b/files/zh-cn/glossary/crlf/index.html
new file mode 100644
index 0000000000..88e6dcfcda
--- /dev/null
+++ b/files/zh-cn/glossary/crlf/index.html
@@ -0,0 +1,22 @@
+---
+title: CRLF
+slug: Glossary/CRLF
+translation_of: Glossary/CRLF
+---
+<p>回车符(CR)和换行符(LF)是文本文件用于标记换行的控制字符(<a href="https://en.wikipedia.org/wiki/Control_character">control characters</a>)或字节码(<a href="https://en.wikipedia.org/wiki/Bytecode">bytecode</a>)。</p>
+
+<ul>
+ <li>CR = <strong>Carriage Return</strong>,回车符号(<code>\r</code>,十六进制 ascii 码为<code>0x0D</code>,十进制 ascii 码为13),用于将鼠标移动到行首,并不前进至下一行。</li>
+ <li>LF = <strong>Line Feed</strong>,换行符号( <code>\n</code>, 十六进制 ascii 码为 <code>0x0A</code>,十进制 ascii 码为10)。</li>
+</ul>
+
+<p>紧邻的 CR 和 LF(组成 CRLF,<code>\r\n</code>,或十六进制 <code>0x0D0A</code>)将鼠标移动到下一行行首。(Windows 操作系统默认的文本换行符为 CRLF;Linux 以及 macOS 系统默认使用 LF,早期的 mac os 系统使用 CR 换行。)</p>
+
+<h2 id="相关链接Edit">相关链接<a class="button section-edit only-icon" href="https://developer.mozilla.org/en-US/docs/Glossary/Smoke_Test$edit#Learn_more"><span>Edit</span></a></h2>
+
+<h3 id="General_knowledge">General knowledge</h3>
+
+<ul>
+ <li>{{interwiki("Newline")}} on Wikipedia</li>
+ <li>{{interwiki("Carriage return")}} on Wikipedia</li>
+</ul>