π is the Unicode character OLD PERMIC LETTER GAI, code point U+10352 (decimal 66386) in the Old Permic block, added in Unicode 7.0. In HTML write 𐍒, and in UTF-8 it is the 4 bytes F0 90 8D 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10352 |
| Decimal | 66386 |
| UTF-8 bytes | F0 90 8D 92 |
| UTF-16 (big-endian) | D800 DF52 |
| UTF-32 | 00010352 |
| HTML decimal | 𐍒 |
| HTML hex | 𐍒 |
| CSS | \10352 |
| JavaScript | \u{10352} or \uD800\uDF52 |
| JSON | \uD800\uDF52 |
| Python | \U00010352 |
| Python by name | \N{OLD PERMIC LETTER GAI} |
| Java, C# | \uD800\uDF52 |
| Rust, Swift | \u{10352} |
| Go, C, C++ | \U00010352 |
| URL (percent-encoded) | %F0%90%8D%92 |
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 | OLD PERMIC LETTER GAI |
| Code point | U+10352 (decimal 66386) |
| Block | Old Permic (U+10350βU+1037F) |
| General category | Lo: Other letter |
| Script | Old Permic |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Old Permic
- π U+10350 Old Permic Letter An
- π U+10351 Old Permic Letter Bur
- π U+10353 Old Permic Letter Doi
- π U+10354 Old Permic Letter E
- π U+10355 Old Permic Letter Zhoi
- π U+10356 Old Permic Letter Dzhoi
- π U+10357 Old Permic Letter Zata
- π U+10358 Old Permic Letter Dzita
- π U+10359 Old Permic Letter I
- π U+1035A Old Permic Letter Koke
All 43 characters: Old Permic.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐍒 (decimal) or 𐍒 (hex).
- What is the UTF-8 encoding of U+10352?
- F0 90 8D 92 (hex), 4 bytes. In a URL it is %F0%90%8D%92.
- How do I write U+10352 in JavaScript or Python?
- JavaScript: \u{10352} or \uD800\uDF52. Python: \U00010352.
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