⎯ is the Unicode character HORIZONTAL LINE EXTENSION, code point U+23AF (decimal 9135) in the Miscellaneous Technical block, added in Unicode 3.2. In HTML write ⎯, and in UTF-8 it is the 3 bytes E2 8E AF.
Codes
| Where | How to write it |
|---|---|
| Code point | U+23AF |
| Decimal | 9135 |
| UTF-8 bytes | E2 8E AF |
| UTF-16 (big-endian) | 23AF |
| UTF-32 | 000023AF |
| HTML decimal | ⎯ |
| HTML hex | ⎯ |
| CSS | \23AF |
| JavaScript | \u23AF |
| JSON | \u23AF |
| Python | \u23AF |
| Python by name | \N{HORIZONTAL LINE EXTENSION} |
| Java, C# | \u23AF |
| Rust, Swift | \u{23AF} |
| Go, C, C++ | \u23AF |
| URL (percent-encoded) | %E2%8E%AF |
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 | HORIZONTAL LINE EXTENSION |
| Code point | U+23AF (decimal 9135) |
| Block | Miscellaneous Technical (U+2300–U+23FF) |
| General category | Sm: Math symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.2 |
Nearby in Miscellaneous Technical
- ⎧ U+23A7 Left Curly Bracket Upper Hook
- ⎨ U+23A8 Left Curly Bracket Middle Piece
- ⎩ U+23A9 Left Curly Bracket Lower Hook
- ⎪ U+23AA Curly Bracket Extension
- ⎫ U+23AB Right Curly Bracket Upper Hook
- ⎬ U+23AC Right Curly Bracket Middle Piece
- ⎭ U+23AD Right Curly Bracket Lower Hook
- ⎮ U+23AE Integral Extension
- ⎰ U+23B0 Upper Left Or Lower Right Curly Bracket Section
- ⎱ U+23B1 Upper Right Or Lower Left Curly Bracket Section
- ⎲ U+23B2 Summation Top
- ⎳ U+23B3 Summation Bottom
- ⎴ U+23B4 Top Square Bracket
- ⎵ U+23B5 Bottom Square Bracket
- ⎶ U+23B6 Bottom Square Bracket Over Top Square Bracket
- ⎷ U+23B7 Radical Symbol Bottom
All 256 characters: Miscellaneous Technical.
Official reference
Questions people ask
- What is the HTML code for ⎯?
- Use ⎯ (decimal) or ⎯ (hex).
- What is the UTF-8 encoding of U+23AF?
- E2 8E AF (hex), 3 bytes. In a URL it is %E2%8E%AF.
- How do I write U+23AF in JavaScript or Python?
- JavaScript: \u23AF. Python: \u23AF.
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