我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
CR and LF are control characters or bytecode that can be used to mark a line break in a text file.
- CR = Carriage Return (
\r
,0x0D
in hexadecimal, 13 in decimal) — moves the cursor down to the next line without returning to the beginning of the line. - LF = Line Feed (
\n
,0x0A
in hexadecimal, 10 in decimal) — moves the cursor to the beginning of the line without advancing to the next line.
A CR immediately followed by a LF (CRLF, \r\n
, or 0x0D0A
) moves the cursor down to the next line and then to the beginning of the line.
Learn moreEdit
General knowledge
- Unknown prefix: Newline. on Wikipedia
- Unknown prefix: Carriage return. on Wikipedia