π is the Unicode character LYCIAN LETTER AN, code point U+10299 (decimal 66201) in the Lycian block, added in Unicode 5.1. In HTML write 𐊙, and in UTF-8 it is the 4 bytes F0 90 8A 99.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10299 |
| Decimal | 66201 |
| UTF-8 bytes | F0 90 8A 99 |
| UTF-16 (big-endian) | D800 DE99 |
| UTF-32 | 00010299 |
| HTML decimal | 𐊙 |
| HTML hex | 𐊙 |
| CSS | \10299 |
| JavaScript | \u{10299} or \uD800\uDE99 |
| JSON | \uD800\uDE99 |
| Python | \U00010299 |
| Python by name | \N{LYCIAN LETTER AN} |
| Java, C# | \uD800\uDE99 |
| Rust, Swift | \u{10299} |
| Go, C, C++ | \U00010299 |
| URL (percent-encoded) | %F0%90%8A%99 |
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 | LYCIAN LETTER AN |
| Code point | U+10299 (decimal 66201) |
| Block | Lycian (U+10280βU+1029F) |
| General category | Lo: Other letter |
| Script | Lycian |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.1 |
Nearby in Lycian
- π U+10291 Lycian Letter Nn
- π U+10292 Lycian Letter U
- π U+10293 Lycian Letter P
- π U+10294 Lycian Letter Kk
- π U+10295 Lycian Letter R
- π U+10296 Lycian Letter S
- π U+10297 Lycian Letter T
- π U+10298 Lycian Letter Tt
- π U+1029A Lycian Letter En
- π U+1029B Lycian Letter H
- π U+1029C Lycian Letter X
All 29 characters: Lycian.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐊙 (decimal) or 𐊙 (hex).
- What is the UTF-8 encoding of U+10299?
- F0 90 8A 99 (hex), 4 bytes. In a URL it is %F0%90%8A%99.
- How do I write U+10299 in JavaScript or Python?
- JavaScript: \u{10299} or \uD800\uDE99. Python: \U00010299.
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