New Line (Nl)
Significato del simbolo
The symbol U+000A is known as Line Feed (LF) or New Line (NL) character. It was developed to indicate the end of a text line and the beginning of a new line in text documents, computer terminals, and text processing systems. The line feed moves the printer's drum by one line. On a video terminal, it moves the cursor down and, if necessary, scrolls the image.
As for computer terminals and text editors, Line Feed is used there to move the cursor to the beginning of the next line. It is the standard way of indicating the end of a line in UNIX-like operating systems, including Linux and macOS.
However, Windows operating systems feature a combination of Carriage Return (CR) and Line Feed (LF) (represented as «\r\n») in order to indicate the end of the line.
In the early teleprinters that operated at a few baud rates, the division of control characters into CR and LF was not random. It concealed the fact that the carriage far to the right might not have enough time to reach the next character. What's even worse, the concepts of «driver» and «buffering» did not exist yet.
When it came to Morse code, there was used a separator -•••− , mnemonic BT (Break Text).
Just like other control characters, this character has no visual representation and does not occupy much space on screen or in typed text. There are two separate symbols in Immagini di controllo 2400–243F representing a graphical image of the U+000A character: the Line Feed symbol in the form of an abbreviation LF (Line Feed) — ␊ and the New Line symbol in the form of an abbreviation NL (New Line) —  .
Escape sequence: \n.
It's one of the eight control symbols, the presence of which is required by POSIX:
Il simbolo «New Line (Nl)» è incluso nel sotto-blocco «Controlli C0‘ del blocco ’Latino di base ed è stato approvato come parte della versione Unicode 1.1 nel 1993.
Sinonimi
line feed (lf), fine della linea (eol), LF.
| Nome Unicode | New Line |
| Numero Unicode | |
| Piano | 0: Piano multilingua principale |
| Blocco Unicode | Latino di base |
| Sottoblocco Unicode | Controlli C0 |
| Versione Unicode | 1.1 (1993) |
| Scorciatoia da tastiera | ^J |
| Sequenze di escape | \n |
| Tipo di supporto specchio accoppiato (bidi) | None |
| Esclusione della composizione | No |
| Cambio di caso | 000A |
| Semplice cambio di caso | 000A |
| scripts | Common |
| White_Space | + |
| Pattern_White_Space | + |
| Codifica | hex | dec (bytes) | dec | binary |
|---|---|---|---|---|
| UTF-8 | 0A | 10 | 10 | 00001010 |
| UTF-16BE | 00 0A | 0 10 | 10 | 00000000 00001010 |
| UTF-16LE | 0A 00 | 10 0 | 2560 | 00001010 00000000 |
| UTF-32BE | 00 00 00 0A | 0 0 0 10 | 10 | 00000000 00000000 00000000 00001010 |
| UTF-32LE | 0A 00 00 00 | 10 0 0 0 | 167772160 | 00001010 00000000 00000000 00000000 |
Copia e incolla questi codici per usare il personaggio New Line (Nl) nei testi di siti web, social media, messaggistica o post di blog.
| HTML | |
| CSS | |
| JavaScript, JSON | |
| Unix, C, PHP, JAVA | |
| Ruby, PHP | |
| Perl | |
| URL-encode |