π is the Unicode character MODIFIER LETTER SMALL CAPITAL G, code point U+10792 (decimal 67474) in the Latin Extended-F block, added in Unicode 14.0. In HTML write 𐞒, and in UTF-8 it is the 4 bytes F0 90 9E 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10792 |
| Decimal | 67474 |
| UTF-8 bytes | F0 90 9E 92 |
| UTF-16 (big-endian) | D801 DF92 |
| UTF-32 | 00010792 |
| HTML decimal | 𐞒 |
| HTML hex | 𐞒 |
| CSS | \10792 |
| JavaScript | \u{10792} or \uD801\uDF92 |
| JSON | \uD801\uDF92 |
| Python | \U00010792 |
| Python by name | \N{MODIFIER LETTER SMALL CAPITAL G} |
| Java, C# | \uD801\uDF92 |
| Rust, Swift | \u{10792} |
| Go, C, C++ | \U00010792 |
| URL (percent-encoded) | %F0%90%9E%92 |
JavaScript and JSON strings store text as UTF-16, so this character takes two code units (a surrogate pair) and "π".length is 2. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | MODIFIER LETTER SMALL CAPITAL G |
| Code point | U+10792 (decimal 67474) |
| Block | Latin Extended-F (U+10780βU+107BF) |
| General category | Lm: Modifier letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 14.0 |
Decomposition
MODIFIER LETTER SMALL CAPITAL G has a compatibility decomposition (super) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in Latin Extended-F
- π U+1078A Modifier Letter Small Dezh Digraph
- π U+1078B Modifier Letter Small D With Tail
- π U+1078C Modifier Letter Small D With Hook
- π U+1078D Modifier Letter Small D With Hook And Tail
- π U+1078E Modifier Letter Small Reversed E
- π U+1078F Modifier Letter Small Closed Reversed Open E
- π U+10790 Modifier Letter Small Feng Digraph
- π U+10791 Modifier Letter Small Rams Horn
- π U+10793 Modifier Letter Small G With Hook
- π U+10794 Modifier Letter Small Capital G With Hook
- π U+10795 Modifier Letter Small H With Stroke
- π U+10796 Modifier Letter Small Capital H
- π U+10797 Modifier Letter Small Heng With Hook
- π U+10798 Modifier Letter Small Dotless J With Stroke And Hook
- π U+10799 Modifier Letter Small Ls Digraph
- π U+1079A Modifier Letter Small Lz Digraph
All 62 characters: Latin Extended-F.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐞒 (decimal) or 𐞒 (hex).
- What is the UTF-8 encoding of U+10792?
- F0 90 9E 92 (hex), 4 bytes. In a URL it is %F0%90%9E%92.
- How do I write U+10792 in JavaScript or Python?
- JavaScript: \u{10792} or \uD801\uDF92. Python: \U00010792.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in