π is the Unicode character TOTO LETTER KA, code point U+1E294 (decimal 123540) in the Toto block, added in Unicode 14.0. In HTML write 𞊔, and in UTF-8 it is the 4 bytes F0 9E 8A 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E294 |
| Decimal | 123540 |
| UTF-8 bytes | F0 9E 8A 94 |
| UTF-16 (big-endian) | D838 DE94 |
| UTF-32 | 0001E294 |
| HTML decimal | 𞊔 |
| HTML hex | 𞊔 |
| CSS | \1E294 |
| JavaScript | \u{1E294} or \uD838\uDE94 |
| JSON | \uD838\uDE94 |
| Python | \U0001E294 |
| Python by name | \N{TOTO LETTER KA} |
| Java, C# | \uD838\uDE94 |
| Rust, Swift | \u{1E294} |
| Go, C, C++ | \U0001E294 |
| URL (percent-encoded) | %F0%9E%8A%94 |
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 KA |
| Code point | U+1E294 (decimal 123540) |
| 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+1E293 Toto Letter Da
- π 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
- π U+1E29C Toto Letter Wa
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+1E294?
- F0 9E 8A 94 (hex), 4 bytes. In a URL it is %F0%9E%8A%94.
- How do I write U+1E294 in JavaScript or Python?
- JavaScript: \u{1E294} or \uD838\uDE94. Python: \U0001E294.
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