⅛ is the Unicode character VULGAR FRACTION ONE EIGHTH, code point U+215B (decimal 8539) in the Number Forms block, added in Unicode 1.1. In HTML write ⅛, and in UTF-8 it is the 3 bytes E2 85 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+215B |
| Decimal | 8539 |
| UTF-8 bytes | E2 85 9B |
| UTF-16 (big-endian) | 215B |
| UTF-32 | 0000215B |
| HTML decimal | ⅛ |
| HTML hex | ⅛ |
| HTML named | ⅛ |
| CSS | \215B |
| JavaScript | \u215B |
| JSON | \u215B |
| Python | \u215B |
| Python by name | \N{VULGAR FRACTION ONE EIGHTH} |
| Java, C# | \u215B |
| Rust, Swift | \u{215B} |
| Go, C, C++ | \u215B |
| URL (percent-encoded) | %E2%85%9B |
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 EIGHTH |
| Code point | U+215B (decimal 8539) |
| Block | Number Forms (U+2150–U+218F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Numeric value | 1/8 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
VULGAR FRACTION ONE EIGHTH 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+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
- ⅙ U+2159 Vulgar Fraction One Sixth
- ⅚ U+215A Vulgar Fraction Five Sixths
- ⅜ U+215C Vulgar Fraction Three Eighths
- ⅝ U+215D Vulgar Fraction Five Eighths
- ⅞ U+215E Vulgar Fraction Seven 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
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+215B?
- E2 85 9B (hex), 3 bytes. In a URL it is %E2%85%9B.
- How do I write U+215B in JavaScript or Python?
- JavaScript: \u215B. Python: \u215B.
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