Unicode Character "2" (U+FF12)

The character 2 (FULLWIDTH DIGIT TWO) is represented by the Unicode codepoint U+FF12. It is encoded in the Halfwidth and Fullwidth Forms block, which belongs to the Basic Multilingual Plane. It was added to Unicode in version 1.1 (June, 1993). It is HTML encoded as 2.

Main Unicode Properties

Name FULLWIDTH DIGIT TWO
Unicode Codepoint U+FF12
Unicode Version 1.1 (June, 1993)
Block Halfwidth and Fullwidth Forms
Plane Basic Multilingual Plane

Bidirectional Data

Bidirectional class European Number (EN)
Is mirrored? No

Other Unicode Data

Category Decimal Number
Script Code for undetermined script
Combining Class Not Reordered
Decomposition mapping

U+FF12 Conversion

HTML (decimal) 2
HTML (hex) 2
HTML (named) -
URL Escape Code %EF%BC%92
CSS \FF12
JavaScript \u{FF12}
JSON \uFF12
C, C++ \U0000FF12
Java \uFF12
Python \U0000FF12
Rust \u{FF12}
Ruby \u{FF12}

How to type "2"

  • Windows ?: Hold Alt, then type F F 1 2. Release Alt.
  • Mac ?: Hold Alt ⌥, then type F F 1 2. Release Alt.

Preview

  • 2
    Times, Times New Roman, serif
  • 2
    Helvetica, Arial, sans-serif
  • 2
    Courier, Courier New, monospace

UTF Encodings

UTF-8 (hex) 0xEF 0xBC 0x92
UTF-16 (hex) 0xFF12
UTF-32 (hex) 0x0000FF12

References