This character is a Other Letter and is mainly used in the Han script. The Unihan Database defines it as two, both, pair, couple; a tael, ounce. Its Pīnyīn pronunciation is liǎng.
The glyph is not a composition. Its East Asian Width is wide. In bidirectional text it is written from left to right. When changing direction it is not mirrored. U+4E21 offers a line break opportunity at its position, except in some numeric contexts.
The Wikipedia has the following information about this codepoint:
The ryō (両) was a gold currency unit in the shakkanhō system in pre-Meiji Japan. It was eventually replaced with a system based on the yen.
Representations
System
Representation (click value to copy)
Nº
20001
UTF-8
E4 B8 A1
UTF-16
4E 21
UTF-32
00 00 4E 21
URL-Quoted
%E4%B8%A1
HTML hex reference
両
Wrong windows-1252 Mojibake
両
Encoding: BIG5HKSCS (hex bytes)
99 4F
Encoding: CP932 (hex bytes)
97 BC
Encoding: EUC_JP (hex bytes)
CE BE
Encoding: EUC_JIS_2004 (hex bytes)
CE BE
Encoding: EUC_JISX0213 (hex bytes)
CE BE
Encoding: GBK (hex bytes)
81 49
Encoding: GB18030 (hex bytes)
81 49
Encoding: ISO2022_JP (hex bytes)
1B 24 42 4E 3E 1B 28 42
Encoding: ISO2022_JP_1 (hex bytes)
1B 24 42 4E 3E 1B 28 42
Encoding: ISO2022_JP_2 (hex bytes)
1B 24 42 4E 3E 1B 28 42
Encoding: ISO2022_JP_2004 (hex bytes)
1B 24 42 4E 3E 1B 28 42
Encoding: ISO2022_JP_3 (hex bytes)
1B 24 42 4E 3E 1B 28 42
Encoding: ISO2022_JP_EXT (hex bytes)
1B 24 42 4E 3E 1B 28 42
Encoding: SHIFT_JIS (hex bytes)
97 BC
Encoding: SHIFT_JIS_2004 (hex bytes)
97 BC
Encoding: SHIFT_JISX0213 (hex bytes)
97 BC
Pīnyīn
liǎng
RFC 5137
\u'4E21'
Bash and Zsh inside echo -e
\u4E21
C and C++
\u4E21
C#
\u4E21
CSS
\004E21
Excel
=UNICHAR(20001)
Go
\u4E21
JavaScript
\u4E21
Modern JavaScript since ES6
\u{4e21}
JSON
\u4E21
Java
\u4E21
Lua
\u{4E21}
Matlab
char(20001)
Perl
"\x{4E21}"
PHP
\u{4e21}
PostgreSQL
U&'\4E21'
PowerShell
`u{4E21}
Python
\u4E21
Ruby
\u{4e21}
Rust
\u{4e21}
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.)