‖ is the Unicode character DOUBLE VERTICAL LINE, code point U+2016 (decimal 8214) in the General Punctuation block, added in Unicode 1.1. In HTML write ‖, and in UTF-8 it is the 3 bytes E2 80 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2016 |
| Decimal | 8214 |
| UTF-8 bytes | E2 80 96 |
| UTF-16 (big-endian) | 2016 |
| UTF-32 | 00002016 |
| HTML decimal | ‖ |
| HTML hex | ‖ |
| HTML named | ‖ ‖ |
| CSS | \2016 |
| JavaScript | \u2016 |
| JSON | \u2016 |
| Python | \u2016 |
| Python by name | \N{DOUBLE VERTICAL LINE} |
| Java, C# | \u2016 |
| Rust, Swift | \u{2016} |
| Go, C, C++ | \u2016 |
| URL (percent-encoded) | %E2%80%96 |
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 | DOUBLE VERTICAL LINE |
| Code point | U+2016 (decimal 8214) |
| Block | General Punctuation (U+2000–U+206F) |
| General category | Po: Other punctuation |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in General Punctuation
- U+200E Left-To-Right Mark
- U+200F Right-To-Left Mark
- ‐ U+2010 Hyphen
- ‑ U+2011 Non-Breaking Hyphen
- ‒ U+2012 Figure Dash
- – U+2013 En Dash
- — U+2014 Em Dash
- ― U+2015 Horizontal Bar
- ‗ U+2017 Double Low Line
- ‘ U+2018 Left Single Quotation Mark
- ’ U+2019 Right Single Quotation Mark
- ‚ U+201A Single Low-9 Quotation Mark
- ‛ U+201B Single High-Reversed-9 Quotation Mark
- “ U+201C Left Double Quotation Mark
- ” U+201D Right Double Quotation Mark
- „ U+201E Double Low-9 Quotation Mark
All 111 characters: General Punctuation.
Official reference
Questions people ask
- What is the HTML code for ‖?
- Use the named entity ‖, or ‖ (decimal) or ‖ (hex).
- What is the UTF-8 encoding of U+2016?
- E2 80 96 (hex), 3 bytes. In a URL it is %E2%80%96.
- How do I write U+2016 in JavaScript or Python?
- JavaScript: \u2016. Python: \u2016.
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