⅞ is the Unicode character VULGAR FRACTION SEVEN EIGHTHS, code point U+215E (decimal 8542) in the Number Forms block, added in Unicode 1.1. In HTML write ⅞, and in UTF-8 it is the 3 bytes E2 85 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+215E |
| Decimal | 8542 |
| UTF-8 bytes | E2 85 9E |
| UTF-16 (big-endian) | 215E |
| UTF-32 | 0000215E |
| HTML decimal | ⅞ |
| HTML hex | ⅞ |
| HTML named | ⅞ |
| CSS | \215E |
| JavaScript | \u215E |
| JSON | \u215E |
| Python | \u215E |
| Python by name | \N{VULGAR FRACTION SEVEN EIGHTHS} |
| Java, C# | \u215E |
| Rust, Swift | \u{215E} |
| Go, C, C++ | \u215E |
| URL (percent-encoded) | %E2%85%9E |
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 SEVEN EIGHTHS |
| Code point | U+215E (decimal 8542) |
| Block | Number Forms (U+2150–U+218F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Numeric value | 7/8 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
VULGAR FRACTION SEVEN EIGHTHS 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+2156 Vulgar Fraction Two Fifths
- ⅗ U+2157 Vulgar Fraction Three Fifths
- ⅘ U+2158 Vulgar Fraction Four Fifths
- ⅙ U+2159 Vulgar Fraction One Sixth
- ⅚ U+215A Vulgar Fraction Five Sixths
- ⅛ U+215B Vulgar Fraction One Eighth
- ⅜ U+215C Vulgar Fraction Three Eighths
- ⅝ U+215D Vulgar Fraction Five Eighths
- ⅟ U+215F Fraction Numerator One
- Ⅰ U+2160 Roman Numeral One
- Ⅱ U+2161 Roman Numeral Two
- Ⅲ U+2162 Roman Numeral Three
- Ⅳ U+2163 Roman Numeral Four
- Ⅴ U+2164 Roman Numeral Five
- Ⅵ U+2165 Roman Numeral Six
- Ⅶ U+2166 Roman Numeral Seven
All 60 characters: Number Forms.
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+215E?
- E2 85 9E (hex), 3 bytes. In a URL it is %E2%85%9E.
- How do I write U+215E in JavaScript or Python?
- JavaScript: \u215E. Python: \u215E.
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