Changement de ligne, passage à la ligne
Signification du symbole
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 Pictogrammes de commande 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:
Le symbole «Changement de ligne, passage à la ligne» est inclus dans le sous-bloc «Contrôles C0‹ du bloc ›Latin de base et a été approuvé dans le cadre de la version Unicode 1.1 en 1993.
Synonymes
saut de ligne (lf), fin de ligne (eol), LF.
| Nom Unicode | New Line |
| Numéro Unicode | |
| Plan | 0: Plan multilingue de base |
| Bloc Unicode | Latin de base |
| Sous-bloc Unicode | Contrôles C0 |
| Version Unicode | 1.1 (1993) |
| Raccourci clavier | ^J |
| Séquences d’échappement | \n |
| Type de support de miroir jumelé (bidi) | None |
| Exclusion de composition | No |
| Changement de cas | 000A |
| Changement de boîtier simple | 000A |
| scripts | Common |
| White_Space | + |
| Pattern_White_Space | + |
| Encodage | 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 |
Copiez et collez ces codes pour utiliser le personnage Changement de ligne, passage à la ligne dans du texte sur des sites web, des réseaux sociaux, des messageries ou des articles de blog.
| HTML | |
| CSS | |
| JavaScript, JSON | |
| Unix, C, PHP, JAVA | |
| Ruby, PHP | |
| Perl | |
| URL-encode |