′ is the Unicode character PRIME, code point U+2032 (decimal 8242) in the General Punctuation block, added in Unicode 1.1. In HTML write ′, and in UTF-8 it is the 3 bytes E2 80 B2.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2032 |
| Decimal | 8242 |
| UTF-8 bytes | E2 80 B2 |
| UTF-16 (big-endian) | 2032 |
| UTF-32 | 00002032 |
| HTML decimal | ′ |
| HTML hex | ′ |
| HTML named | ′ |
| CSS | \2032 |
| JavaScript | \u2032 |
| JSON | \u2032 |
| Python | \u2032 |
| Python by name | \N{PRIME} |
| Java, C# | \u2032 |
| Rust, Swift | \u{2032} |
| Go, C, C++ | \u2032 |
| URL (percent-encoded) | %E2%80%B2 |
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 | PRIME |
| Code point | U+2032 (decimal 8242) |
| Block | General Punctuation (U+2000–U+206F) |
| General category | Po: Other punctuation |
| Script | Common |
| Bidirectional class | ET: European number terminator |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in General Punctuation
- 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
- ‱ U+2031 Per Ten Thousand Sign
- ″ U+2033 Double Prime
- ‴ U+2034 Triple Prime
- ‵ U+2035 Reversed Prime
- ‶ U+2036 Reversed Double Prime
- ‷ U+2037 Reversed Triple Prime
- ‸ U+2038 Caret
- ‹ U+2039 Single Left-Pointing Angle Quotation Mark
- › U+203A Single Right-Pointing Angle 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+2032?
- E2 80 B2 (hex), 3 bytes. In a URL it is %E2%80%B2.
- How do I write U+2032 in JavaScript or Python?
- JavaScript: \u2032. Python: \u2032.
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