π is the Unicode character TOTO LETTER DA, code point U+1E293 (decimal 123539) in the Toto block, added in Unicode 14.0. In HTML write 𞊓, and in UTF-8 it is the 4 bytes F0 9E 8A 93.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E293 |
| Decimal | 123539 |
| UTF-8 bytes | F0 9E 8A 93 |
| UTF-16 (big-endian) | D838 DE93 |
| UTF-32 | 0001E293 |
| HTML decimal | 𞊓 |
| HTML hex | 𞊓 |
| CSS | \1E293 |
| JavaScript | \u{1E293} or \uD838\uDE93 |
| JSON | \uD838\uDE93 |
| Python | \U0001E293 |
| Python by name | \N{TOTO LETTER DA} |
| Java, C# | \uD838\uDE93 |
| Rust, Swift | \u{1E293} |
| Go, C, C++ | \U0001E293 |
| URL (percent-encoded) | %F0%9E%8A%93 |
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 DA |
| Code point | U+1E293 (decimal 123539) |
| 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+1E290 Toto Letter Pa
- π U+1E291 Toto Letter Ba
- π U+1E292 Toto Letter Ta
- π 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+1E29A Toto Letter Cha
- π U+1E29B Toto Letter Ya
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+1E293?
- F0 9E 8A 93 (hex), 4 bytes. In a URL it is %F0%9E%8A%93.
- How do I write U+1E293 in JavaScript or Python?
- JavaScript: \u{1E293} or \uD838\uDE93. Python: \U0001E293.
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