This character is a Decimal Number and is mainly used in the Myanmar script. It is also used in the scripts Chakma, Tai Le. The codepoint has the decimal value 2.
The glyph is not a composition. It has no designated width in East Asian texts. In bidirectional text it is written from left to right. When changing direction it is not mirrored. This number joins with other adjacent letters and numbers to form a word. U+1042 forms a number with similar characters, which prevents a line break inside it.
The Wikipedia has the following information about this codepoint:
2 (two) is a number, numeral and digit. It is the natural number following 1 and preceding 3. It is the smallest and the only even prime number.
Because it forms the basis of a duality, it has religious and spiritual significance in many cultures.
Representations
System
Representation (click value to copy)
Nº
4162
UTF-8
E1 81 82
UTF-16
10 42
UTF-32
00 00 10 42
URL-Quoted
%E1%81%82
HTML hex reference
၂
Wrong windows-1252 Mojibake
á‚
Encoding: GB18030 (hex bytes)
81 33 8A 36
RFC 5137
\u'1042'
Bash and Zsh inside echo -e
\u1042
C and C++
\u1042
C#
\u1042
CSS
\001042
Excel
=UNICHAR(4162)
Go
\u1042
JavaScript
\u1042
Modern JavaScript since ES6
\u{1042}
JSON
\u1042
Java
\u1042
Lua
\u{1042}
Matlab
char(4162)
Perl
"\x{1042}"
PHP
\u{1042}
PostgreSQL
U&'\1042'
PowerShell
`u{1042}
Python
\u1042
Ruby
\u{1042}
Rust
\u{1042}
Click the star button next to each label to set this representation as favorite or remove it from the favorites. Favorites will be shown initially. (Favorites are stored locally on your computer and never sent over the internet.)