⅐ is the Unicode character VULGAR FRACTION ONE SEVENTH, code point U+2150 (decimal 8528) in the Number Forms block, added in Unicode 5.2. In HTML write ⅐, and in UTF-8 it is the 3 bytes E2 85 90.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2150 |
| Decimal | 8528 |
| UTF-8 bytes | E2 85 90 |
| UTF-16 (big-endian) | 2150 |
| UTF-32 | 00002150 |
| HTML decimal | ⅐ |
| HTML hex | ⅐ |
| CSS | \2150 |
| JavaScript | \u2150 |
| JSON | \u2150 |
| Python | \u2150 |
| Python by name | \N{VULGAR FRACTION ONE SEVENTH} |
| Java, C# | \u2150 |
| Rust, Swift | \u{2150} |
| Go, C, C++ | \u2150 |
| URL (percent-encoded) | %E2%85%90 |
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 | VULGAR FRACTION ONE SEVENTH |
| Code point | U+2150 (decimal 8528) |
| Block | Number Forms (U+2150–U+218F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Numeric value | 1/7 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.2 |
Decomposition
VULGAR FRACTION ONE SEVENTH has a compatibility decomposition (fraction) 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 Number Forms
- ⅑ U+2151 Vulgar Fraction One Ninth
- ⅒ U+2152 Vulgar Fraction One Tenth
- ⅓ U+2153 Vulgar Fraction One Third
- ⅔ U+2154 Vulgar Fraction Two Thirds
- ⅕ U+2155 Vulgar Fraction One Fifth
- ⅖ U+2156 Vulgar Fraction Two Fifths
- ⅗ U+2157 Vulgar Fraction Three Fifths
- ⅘ U+2158 Vulgar Fraction Four Fifths
All 60 characters: Number Forms.
Official reference
Questions people ask
- What is the HTML code for ⅐?
- Use ⅐ (decimal) or ⅐ (hex).
- What is the UTF-8 encoding of U+2150?
- E2 85 90 (hex), 3 bytes. In a URL it is %E2%85%90.
- How do I write U+2150 in JavaScript or Python?
- JavaScript: \u2150. Python: \u2150.
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