Symbol For Carriage Return vs Symbol For Newline
VS
Property Comparison
Encoding Comparison
| Format | 240D | 2424 |
|---|---|---|
| Unicode | U+240D | U+2424 |
| HTML Decimal | ␍ | ␤ |
| HTML Hex | ␍ | ␤ |
| CSS | \240D | \2424 |
| JavaScript | \u{240D} | \u{2424} |
| Python | \u240d | \u2424 |
| UTF-8 | e2 90 8d | e2 90 a4 |
How to Distinguish
Both Symbol For Carriage Return and Symbol For Newline belong to the Technical category and the Control Pictures block. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.