How to type Seven Eighths
To type Seven Eighths (⅞), press Alt + 8542 on Windows, holding Alt while typing the digits on the numeric keypad, or write ⅞ in HTML. On any system you can copy it from this page, or enter its codepoint U+215E directly: Ctrl+Shift+U then 215e on Linux, or 215e then Alt+X in Microsoft Word.
Vulgar Fraction Seven Eighths
- Copy it
- Unicode
- U+215E
- Windows
- Alt + 8542 needs regedit
| Where | Shortcut | How |
|---|---|---|
| Windows | Alt + 8542 | Above 255, so Windows will not accept it as typed. Copy the character instead. |
| Mac | N/A | Press the keys together. |
| HTML | ⅞ | Paste this into HTML source. |
| Unicode | U+215E | VULGAR FRACTION SEVEN EIGHTHS |
Other fractions symbols
⅞ lives in the Number Forms block (U+2150-U+218F), fractions and Roman numerals as single characters. Within Unicode it is classified as No, a number that is not a digit. Fractions and superscript digits sit here.
What happens to ⅞ in a search box
⅞ is a precomposed fraction: Unicode says it can be rewritten as 7⁄8, three separate characters. Anything that normalises text to NFKC before comparing it does exactly that, which is why ⅞ pasted into a search field, a URL slug or a username can come back as 7⁄8 and match text that never contained ⅞ at all. NFC, the form this site uses, leaves it alone. Unicode also records its numeric value as 0.875, so software that asks a character what number it is gets 0.875 rather than an error.
How Seven Eighths behaves in software
⅞ is East Asian Ambiguous: one column in a Western locale and two in a CJK one. That is why a table that lines up on your machine can break on somebody else's, with no change to the text at all. It carries no direction of its own, so in a line that mixes English with Arabic or Hebrew it takes the direction of the text around it rather than forcing one.
Every way to write Seven Eighths
| Form | Value |
|---|---|
| Codepoint | U+215E |
| Decimal | 8542 |
| UTF-8 bytes | E2 85 9E |
| UTF-16 bytes | 21 5E |
| HTML entity | ⅞ |
| HTML numeric | ⅞ or ⅞ |
| CSS | \215E |
| JavaScript | \u215E |
| Python | \u215E |
| URL-encoded | %E2%85%9E |
| SVG | 215E.svg · (SIL Open Font License) |
If ⅞ arrives as â…ž
Its three UTF-8 bytes E2 85 9E are being read one at a time as Windows-1252. The text is undamaged; the reader has to be told it is UTF-8.