U+0032 DIGIT TWO

2

If this shows as a blank square, your device lacks a font to render it.

Decimal / Nº
50
General Category
Block
Script
Bidi Category
European Number
East Asian Width
narrow
Combining Class
Not Reordered
Decomposition
not a composition

Character Details

The Unicode character U+0032, officially named DIGIT TWO, was introduced in Unicode version 1.1. It is part of the ASCII block, which belongs to the Basic Multilingual plane.

Categorized technically as a Decimal Number, this character typically falls under the Common script. In terms of text layout and rendering, the glyph is not a composition and has narrow in East Asian typography. When placed in bidirectional text, it behaves as an European Number character. Its visual representation remains not mirrored regardless of the reading direction.

As an officially designated emoji, this character can be displayed in colorful graphical formats on supported platforms. To explicitly request the colorful emoji presentation rather than a standard monochrome text symbol, developers can append the Variation Selector-16 (U+FE0F) directly after the character.

Representations & Encodings

Click any row to instantly copy the encoding value to your clipboard.

50 Copied!
UTF-8 32 Copied!
UTF-16 00 32 Copied!
UTF-32 00 00 00 32 Copied!
URL-Quoted 2 Copied!
HTML hex reference 2 Copied!
RFC 5137 \u'0032' Copied!
Bash and Zsh (inside echo -e) \u0032 Copied!
C and C++ \u0032 Copied!
C# \u0032 Copied!
CSS \000032 Copied!
Excel =UNICHAR(50) Copied!
Go \u0032 Copied!
JavaScript \u0032 Copied!
Modern JavaScript (since ES6) \u{0032} Copied!
JSON \u0032 Copied!
Java \u0032 Copied!
Lua \u{0032} Copied!
Matlab char(50) Copied!
Perl \x{0032} Copied!
PHP \u{0032} Copied!
PostgreSQL U&'\0032' Copied!
PowerShell `u{0032} Copied!
Python \u0032 Copied!
Ruby \u{0032} Copied!
Rust \u{0032} Copied!