This is the Unicode character LINE SEPARATOR, code point U+2028 (decimal 8232) in the General Punctuation block, added in Unicode 1.1. In HTML write 
, and in UTF-8 it is the 3 bytes E2 80 A8.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2028 |
| Decimal | 8232 |
| UTF-8 bytes | E2 80 A8 |
| UTF-16 (big-endian) | 2028 |
| UTF-32 | 00002028 |
| HTML decimal | 
 |
| HTML hex | 
 |
| CSS | \2028 |
| JavaScript | \u2028 |
| JSON | \u2028 |
| Python | \u2028 |
| Python by name | \N{LINE SEPARATOR} |
| Java, C# | \u2028 |
| Rust, Swift | \u{2028} |
| Go, C, C++ | \u2028 |
| URL (percent-encoded) | %E2%80%A8 |
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 | LINE SEPARATOR |
| Code point | U+2028 (decimal 8232) |
| Block | General Punctuation (U+2000–U+206F) |
| General category | Zl: Line separator |
| Script | Common |
| Bidirectional class | WS: Whitespace |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in General Punctuation
- † U+2020 Dagger
- ‡ U+2021 Double Dagger
- • U+2022 Bullet
- ‣ U+2023 Triangular Bullet
- ․ U+2024 One Dot Leader
- ‥ U+2025 Two Dot Leader
- … U+2026 Horizontal Ellipsis
- ‧ U+2027 Hyphenation Point
- U+2029 Paragraph Separator
- U+202A Left-To-Right Embedding
- U+202B Right-To-Left Embedding
- U+202C Pop Directional Formatting
- U+202D Left-To-Right Override
- U+202E Right-To-Left Override
- U+202F Narrow No-Break Space
- ‰ U+2030 Per Mille Sign
All 111 characters: General Punctuation.
Official reference
Questions people ask
- What is the HTML code for LINE SEPARATOR?
- Use 
 (decimal) or 
 (hex).
- What is the UTF-8 encoding of U+2028?
- E2 80 A8 (hex), 3 bytes. In a URL it is %E2%80%A8.
- How do I write U+2028 in JavaScript or Python?
- JavaScript: \u2028. Python: \u2028.
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