How to type Roman Numeral Two
To type Roman Numeral Two (Ⅱ), press Alt + 8545 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+2161 directly: Ctrl+Shift+U then 2161 on Linux, or 2161 then Alt+X in Microsoft Word.
Roman Numeral Two
- Copy it
- Unicode
- U+2161
- Windows
- Alt + 8545 needs regedit
| Where | Shortcut | How |
|---|---|---|
| Windows | Alt + 8545 | 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+2161 | ROMAN NUMERAL TWO |
Other symbols
Ⅱ lives in the Number Forms block (U+2150-U+218F), fractions and Roman numerals as single characters. Within Unicode it is classified as Nl, a letter-like number. Roman numerals are the familiar example. Its bidirectional class makes it left-to-right.
Its lowercase counterpart is ⅱ (U+2171). They are separate codepoints, so a byte comparison treats them as different characters even though a case-insensitive search does not.
What happens to Ⅱ in a search box
Ⅱ is a compatibility character: Unicode says it can be rewritten as II, two 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 II and match text that never contained Ⅱ at all. NFC, the form this site uses, leaves it alone. Unicode also records its numeric value as 2, so software that asks a character what number it is gets 2 rather than an error.
How Roman Numeral Two 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 is a left-to-right character, so it holds that direction even inside a right-to-left paragraph.
Every way to write Roman Numeral Two
| Form | Value |
|---|---|
| Codepoint | U+2161 |
| Decimal | 8545 |
| UTF-8 bytes | E2 85 A1 |
| UTF-16 bytes | 21 61 |
| HTML entity | Ⅱ |
| HTML numeric | Ⅱ or Ⅱ |
| CSS | \2161 |
| JavaScript | \u2161 |
| Python | \u2161 |
| URL-encoded | %E2%85%A1 |
| SVG | 2161.svg · (SIL Open Font License) |
If Ⅱ arrives as â…¡
Its three UTF-8 bytes E2 85 A1 are being read one at a time as Windows-1252. The text is undamaged; the reader has to be told it is UTF-8.