π is the Unicode character OLD ITALIC LETTER KHE, code point U+10319 (decimal 66329) in the Old Italic block, added in Unicode 3.1. In HTML write 𐌙, and in UTF-8 it is the 4 bytes F0 90 8C 99.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10319 |
| Decimal | 66329 |
| UTF-8 bytes | F0 90 8C 99 |
| UTF-16 (big-endian) | D800 DF19 |
| UTF-32 | 00010319 |
| HTML decimal | 𐌙 |
| HTML hex | 𐌙 |
| CSS | \10319 |
| JavaScript | \u{10319} or \uD800\uDF19 |
| JSON | \uD800\uDF19 |
| Python | \U00010319 |
| Python by name | \N{OLD ITALIC LETTER KHE} |
| Java, C# | \uD800\uDF19 |
| Rust, Swift | \u{10319} |
| Go, C, C++ | \U00010319 |
| URL (percent-encoded) | %F0%90%8C%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 | OLD ITALIC LETTER KHE |
| Code point | U+10319 (decimal 66329) |
| Block | Old Italic (U+10300βU+1032F) |
| General category | Lo: Other letter |
| Script | Old Italic |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Nearby in Old Italic
- π U+10311 Old Italic Letter She
- π U+10312 Old Italic Letter Ku
- π U+10313 Old Italic Letter Er
- π U+10314 Old Italic Letter Es
- π U+10315 Old Italic Letter Te
- π U+10316 Old Italic Letter U
- π U+10317 Old Italic Letter Eks
- π U+10318 Old Italic Letter Phe
- π U+1031A Old Italic Letter Ef
- π U+1031B Old Italic Letter Ers
- π U+1031C Old Italic Letter Che
- π U+1031D Old Italic Letter Ii
- π U+1031E Old Italic Letter Uu
- π U+1031F Old Italic Letter Ess
- π U+10320 Old Italic Numeral One
- π‘ U+10321 Old Italic Numeral Five
All 39 characters: Old Italic.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐌙 (decimal) or 𐌙 (hex).
- What is the UTF-8 encoding of U+10319?
- F0 90 8C 99 (hex), 4 bytes. In a URL it is %F0%90%8C%99.
- How do I write U+10319 in JavaScript or Python?
- JavaScript: \u{10319} or \uD800\uDF19. Python: \U00010319.
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