π is the Unicode character GOTHIC LETTER PAIRTHRA, code point U+10340 (decimal 66368) in the Gothic block, added in Unicode 3.1. In HTML write 𐍀, and in UTF-8 it is the 4 bytes F0 90 8D 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10340 |
| Decimal | 66368 |
| UTF-8 bytes | F0 90 8D 80 |
| UTF-16 (big-endian) | D800 DF40 |
| UTF-32 | 00010340 |
| HTML decimal | 𐍀 |
| HTML hex | 𐍀 |
| CSS | \10340 |
| JavaScript | \u{10340} or \uD800\uDF40 |
| JSON | \uD800\uDF40 |
| Python | \U00010340 |
| Python by name | \N{GOTHIC LETTER PAIRTHRA} |
| Java, C# | \uD800\uDF40 |
| Rust, Swift | \u{10340} |
| Go, C, C++ | \U00010340 |
| URL (percent-encoded) | %F0%90%8D%80 |
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 | GOTHIC LETTER PAIRTHRA |
| Code point | U+10340 (decimal 66368) |
| Block | Gothic (U+10330βU+1034F) |
| General category | Lo: Other letter |
| Script | Gothic |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Nearby in Gothic
- πΈ U+10338 Gothic Letter Thiuth
- πΉ U+10339 Gothic Letter Eis
- πΊ U+1033A Gothic Letter Kusma
- π» U+1033B Gothic Letter Lagus
- πΌ U+1033C Gothic Letter Manna
- π½ U+1033D Gothic Letter Nauths
- πΎ U+1033E Gothic Letter Jer
- πΏ U+1033F Gothic Letter Urus
- π U+10341 Gothic Letter Ninety
- π U+10342 Gothic Letter Raida
- π U+10343 Gothic Letter Sauil
- π U+10344 Gothic Letter Teiws
- π U+10345 Gothic Letter Winja
- π U+10346 Gothic Letter Faihu
- π U+10347 Gothic Letter Iggws
- π U+10348 Gothic Letter Hwair
All 27 characters: Gothic.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐍀 (decimal) or 𐍀 (hex).
- What is the UTF-8 encoding of U+10340?
- F0 90 8D 80 (hex), 4 bytes. In a URL it is %F0%90%8D%80.
- How do I write U+10340 in JavaScript or Python?
- JavaScript: \u{10340} or \uD800\uDF40. Python: \U00010340.
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