␍ is the Unicode character SYMBOL FOR CARRIAGE RETURN, code point U+240D (decimal 9229) in the Control Pictures block, added in Unicode 1.1. In HTML write ␍, and in UTF-8 it is the 3 bytes E2 90 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+240D |
| Decimal | 9229 |
| UTF-8 bytes | E2 90 8D |
| UTF-16 (big-endian) | 240D |
| UTF-32 | 0000240D |
| HTML decimal | ␍ |
| HTML hex | ␍ |
| CSS | \240D |
| JavaScript | \u240D |
| JSON | \u240D |
| Python | \u240D |
| Python by name | \N{SYMBOL FOR CARRIAGE RETURN} |
| Java, C# | \u240D |
| Rust, Swift | \u{240D} |
| Go, C, C++ | \u240D |
| URL (percent-encoded) | %E2%90%8D |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | SYMBOL FOR CARRIAGE RETURN |
| Code point | U+240D (decimal 9229) |
| Block | Control Pictures (U+2400–U+243F) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Control Pictures
- ␅ U+2405 Symbol For Enquiry
- ␆ U+2406 Symbol For Acknowledge
- ␇ U+2407 Symbol For Bell
- ␈ U+2408 Symbol For Backspace
- ␉ U+2409 Symbol For Horizontal Tabulation
- ␊ U+240A Symbol For Line Feed
- ␋ U+240B Symbol For Vertical Tabulation
- ␌ U+240C Symbol For Form Feed
- ␎ U+240E Symbol For Shift Out
- ␏ U+240F Symbol For Shift In
- ␐ U+2410 Symbol For Data Link Escape
- ␑ U+2411 Symbol For Device Control One
- ␒ U+2412 Symbol For Device Control Two
- ␓ U+2413 Symbol For Device Control Three
- ␔ U+2414 Symbol For Device Control Four
- ␕ U+2415 Symbol For Negative Acknowledge
All 42 characters: Control Pictures.
Official reference
Questions people ask
- What is the HTML code for ␍?
- Use ␍ (decimal) or ␍ (hex).
- What is the UTF-8 encoding of U+240D?
- E2 90 8D (hex), 3 bytes. In a URL it is %E2%90%8D.
- How do I write U+240D in JavaScript or Python?
- JavaScript: \u240D. Python: \u240D.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in