‗ is the Unicode character DOUBLE LOW LINE, code point U+2017 (decimal 8215) in the General Punctuation block, added in Unicode 1.1. In HTML write ‗, and in UTF-8 it is the 3 bytes E2 80 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2017 |
| Decimal | 8215 |
| UTF-8 bytes | E2 80 97 |
| UTF-16 (big-endian) | 2017 |
| UTF-32 | 00002017 |
| HTML decimal | ‗ |
| HTML hex | ‗ |
| CSS | \2017 |
| JavaScript | \u2017 |
| JSON | \u2017 |
| Python | \u2017 |
| Python by name | \N{DOUBLE LOW LINE} |
| Java, C# | \u2017 |
| Rust, Swift | \u{2017} |
| Go, C, C++ | \u2017 |
| URL (percent-encoded) | %E2%80%97 |
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 LOW LINE |
| Code point | U+2017 (decimal 8215) |
| 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 |
Decomposition
DOUBLE LOW LINE has a compatibility decomposition (compat) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in General Punctuation
- 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+2016 Double Vertical 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
- ‟ U+201F Double High-Reversed-9 Quotation Mark
All 111 characters: General Punctuation.
Official reference
Questions people ask
- What is the HTML code for ‗?
- Use ‗ (decimal) or ‗ (hex).
- What is the UTF-8 encoding of U+2017?
- E2 80 97 (hex), 3 bytes. In a URL it is %E2%80%97.
- How do I write U+2017 in JavaScript or Python?
- JavaScript: \u2017. Python: \u2017.
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