π is the Unicode character GRANTHA SIGN PLUTA, code point U+1135D (decimal 70493) in the Grantha block, added in Unicode 7.0. In HTML write 𑍝, and in UTF-8 it is the 4 bytes F0 91 8D 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1135D |
| Decimal | 70493 |
| UTF-8 bytes | F0 91 8D 9D |
| UTF-16 (big-endian) | D804 DF5D |
| UTF-32 | 0001135D |
| HTML decimal | 𑍝 |
| HTML hex | 𑍝 |
| CSS | \1135D |
| JavaScript | \u{1135D} or \uD804\uDF5D |
| JSON | \uD804\uDF5D |
| Python | \U0001135D |
| Python by name | \N{GRANTHA SIGN PLUTA} |
| Java, C# | \uD804\uDF5D |
| Rust, Swift | \u{1135D} |
| Go, C, C++ | \U0001135D |
| URL (percent-encoded) | %F0%91%8D%9D |
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 | GRANTHA SIGN PLUTA |
| Code point | U+1135D (decimal 70493) |
| Block | Grantha (U+11300βU+1137F) |
| General category | Lo: Other letter |
| Script | Grantha |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Grantha
- U+11344 Grantha Vowel Sign Vocalic Rr
- U+11347 Grantha Vowel Sign Ee
- U+11348 Grantha Vowel Sign Ai
- U+1134B Grantha Vowel Sign Oo
- U+1134C Grantha Vowel Sign Au
- U+1134D Grantha Sign Virama
- π U+11350 Grantha Om
- U+11357 Grantha Au Length Mark
- π U+1135E Grantha Letter Vedic Anusvara
- π U+1135F Grantha Letter Vedic Double Anusvara
- π U+11360 Grantha Letter Vocalic Rr
- π‘ U+11361 Grantha Letter Vocalic Ll
- U+11362 Grantha Vowel Sign Vocalic L
- U+11363 Grantha Vowel Sign Vocalic Ll
- U+11366 Combining Grantha Digit Zero
- U+11367 Combining Grantha Digit One
All 86 characters: Grantha.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑍝 (decimal) or 𑍝 (hex).
- What is the UTF-8 encoding of U+1135D?
- F0 91 8D 9D (hex), 4 bytes. In a URL it is %F0%91%8D%9D.
- How do I write U+1135D in JavaScript or Python?
- JavaScript: \u{1135D} or \uD804\uDF5D. Python: \U0001135D.
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