π is the Unicode character MODIFIER LETTER SMALL D WITH TAIL, code point U+1078B (decimal 67467) 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 8B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1078B |
| Decimal | 67467 |
| UTF-8 bytes | F0 90 9E 8B |
| UTF-16 (big-endian) | D801 DF8B |
| UTF-32 | 0001078B |
| HTML decimal | 𐞋 |
| HTML hex | 𐞋 |
| CSS | \1078B |
| JavaScript | \u{1078B} or \uD801\uDF8B |
| JSON | \uD801\uDF8B |
| Python | \U0001078B |
| Python by name | \N{MODIFIER LETTER SMALL D WITH TAIL} |
| Java, C# | \uD801\uDF8B |
| Rust, Swift | \u{1078B} |
| Go, C, C++ | \U0001078B |
| URL (percent-encoded) | %F0%90%9E%8B |
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 D WITH TAIL |
| Code point | U+1078B (decimal 67467) |
| 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 D WITH TAIL 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+10782 Modifier Letter Superscript Half Triangular Colon
- π U+10783 Modifier Letter Small Ae
- π U+10784 Modifier Letter Small Capital B
- π U+10785 Modifier Letter Small B With Hook
- π U+10787 Modifier Letter Small Dz Digraph
- π 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+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+10792 Modifier Letter Small Capital G
- π U+10793 Modifier Letter Small G With 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+1078B?
- F0 90 9E 8B (hex), 4 bytes. In a URL it is %F0%90%9E%8B.
- How do I write U+1078B in JavaScript or Python?
- JavaScript: \u{1078B} or \uD801\uDF8B. Python: \U0001078B.
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