π is the Unicode character TOTO LETTER CHA, code point U+1E29A (decimal 123546) in the Toto block, added in Unicode 14.0. In HTML write 𞊚, and in UTF-8 it is the 4 bytes F0 9E 8A 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E29A |
| Decimal | 123546 |
| UTF-8 bytes | F0 9E 8A 9A |
| UTF-16 (big-endian) | D838 DE9A |
| UTF-32 | 0001E29A |
| HTML decimal | 𞊚 |
| HTML hex | 𞊚 |
| CSS | \1E29A |
| JavaScript | \u{1E29A} or \uD838\uDE9A |
| JSON | \uD838\uDE9A |
| Python | \U0001E29A |
| Python by name | \N{TOTO LETTER CHA} |
| Java, C# | \uD838\uDE9A |
| Rust, Swift | \u{1E29A} |
| Go, C, C++ | \U0001E29A |
| URL (percent-encoded) | %F0%9E%8A%9A |
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 CHA |
| Code point | U+1E29A (decimal 123546) |
| 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+1E292 Toto Letter Ta
- π U+1E293 Toto Letter Da
- π U+1E294 Toto Letter Ka
- π U+1E295 Toto Letter Ga
- π U+1E296 Toto Letter Ma
- π U+1E297 Toto Letter Na
- π U+1E298 Toto Letter Nga
- π U+1E299 Toto Letter Sa
- π U+1E29B Toto Letter Ya
- π U+1E29C Toto Letter Wa
- π U+1E29D Toto Letter Ja
- π U+1E29E Toto Letter Ha
- π U+1E29F Toto Letter Ra
- π U+1E2A0 Toto Letter La
- π‘ U+1E2A1 Toto Letter I
- π’ U+1E2A2 Toto Letter Breathy I
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+1E29A?
- F0 9E 8A 9A (hex), 4 bytes. In a URL it is %F0%9E%8A%9A.
- How do I write U+1E29A in JavaScript or Python?
- JavaScript: \u{1E29A} or \uD838\uDE9A. Python: \U0001E29A.
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