π is the Unicode character MODIFIER LETTER SMALL FENG DIGRAPH, code point U+10790 (decimal 67472) 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 90.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10790 |
| Decimal | 67472 |
| UTF-8 bytes | F0 90 9E 90 |
| UTF-16 (big-endian) | D801 DF90 |
| UTF-32 | 00010790 |
| HTML decimal | 𐞐 |
| HTML hex | 𐞐 |
| CSS | \10790 |
| JavaScript | \u{10790} or \uD801\uDF90 |
| JSON | \uD801\uDF90 |
| Python | \U00010790 |
| Python by name | \N{MODIFIER LETTER SMALL FENG DIGRAPH} |
| Java, C# | \uD801\uDF90 |
| Rust, Swift | \u{10790} |
| Go, C, C++ | \U00010790 |
| URL (percent-encoded) | %F0%90%9E%90 |
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 FENG DIGRAPH |
| Code point | U+10790 (decimal 67472) |
| 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 FENG DIGRAPH 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+10788 Modifier Letter Small Dz Digraph With Retroflex Hook
- π U+10789 Modifier Letter Small Dz Digraph With Curl
- π 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+10791 Modifier Letter Small Rams Horn
- π U+10792 Modifier Letter Small Capital G
- π 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
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+10790?
- F0 90 9E 90 (hex), 4 bytes. In a URL it is %F0%90%9E%90.
- How do I write U+10790 in JavaScript or Python?
- JavaScript: \u{10790} or \uD801\uDF90. Python: \U00010790.
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