π is the Unicode character TOTO LETTER HA, code point U+1E29E (decimal 123550) in the Toto block, added in Unicode 14.0. In HTML write 𞊞, and in UTF-8 it is the 4 bytes F0 9E 8A 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E29E |
| Decimal | 123550 |
| UTF-8 bytes | F0 9E 8A 9E |
| UTF-16 (big-endian) | D838 DE9E |
| UTF-32 | 0001E29E |
| HTML decimal | 𞊞 |
| HTML hex | 𞊞 |
| CSS | \1E29E |
| JavaScript | \u{1E29E} or \uD838\uDE9E |
| JSON | \uD838\uDE9E |
| Python | \U0001E29E |
| Python by name | \N{TOTO LETTER HA} |
| Java, C# | \uD838\uDE9E |
| Rust, Swift | \u{1E29E} |
| Go, C, C++ | \U0001E29E |
| URL (percent-encoded) | %F0%9E%8A%9E |
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 | TOTO LETTER HA |
| Code point | U+1E29E (decimal 123550) |
| Block | Toto (U+1E290βU+1E2BF) |
| General category | Lo: Other letter |
| Script | Toto |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 14.0 |
Nearby in Toto
- π U+1E296 Toto Letter Ma
- π U+1E297 Toto Letter Na
- π U+1E298 Toto Letter Nga
- π U+1E299 Toto Letter Sa
- π U+1E29A Toto Letter Cha
- π U+1E29B Toto Letter Ya
- π U+1E29C Toto Letter Wa
- π U+1E29D Toto Letter Ja
- π U+1E29F Toto Letter Ra
- π U+1E2A0 Toto Letter La
- π‘ U+1E2A1 Toto Letter I
- π’ U+1E2A2 Toto Letter Breathy I
- π£ U+1E2A3 Toto Letter Iu
- π€ U+1E2A4 Toto Letter Breathy Iu
- π₯ U+1E2A5 Toto Letter U
- π¦ U+1E2A6 Toto Letter E
All 31 characters: Toto.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𞊞 (decimal) or 𞊞 (hex).
- What is the UTF-8 encoding of U+1E29E?
- F0 9E 8A 9E (hex), 4 bytes. In a URL it is %F0%9E%8A%9E.
- How do I write U+1E29E in JavaScript or Python?
- JavaScript: \u{1E29E} or \uD838\uDE9E. Python: \U0001E29E.
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