π is the Unicode character GOTHIC LETTER NINE HUNDRED, code point U+1034A (decimal 66378) in the Gothic block, added in Unicode 3.1. In HTML write 𐍊, and in UTF-8 it is the 4 bytes F0 90 8D 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1034A |
| Decimal | 66378 |
| UTF-8 bytes | F0 90 8D 8A |
| UTF-16 (big-endian) | D800 DF4A |
| UTF-32 | 0001034A |
| HTML decimal | 𐍊 |
| HTML hex | 𐍊 |
| CSS | \1034A |
| JavaScript | \u{1034A} or \uD800\uDF4A |
| JSON | \uD800\uDF4A |
| Python | \U0001034A |
| Python by name | \N{GOTHIC LETTER NINE HUNDRED} |
| Java, C# | \uD800\uDF4A |
| Rust, Swift | \u{1034A} |
| Go, C, C++ | \U0001034A |
| URL (percent-encoded) | %F0%90%8D%8A |
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 NINE HUNDRED |
| Code point | U+1034A (decimal 66378) |
| Block | Gothic (U+10330βU+1034F) |
| General category | Nl: Letter number |
| Script | Gothic |
| Bidirectional class | L: Left-to-right |
| Numeric value | 900 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Nearby in Gothic
- π 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
- π U+10349 Gothic Letter Othal
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+1034A?
- F0 90 8D 8A (hex), 4 bytes. In a URL it is %F0%90%8D%8A.
- How do I write U+1034A in JavaScript or Python?
- JavaScript: \u{1034A} or \uD800\uDF4A. Python: \U0001034A.
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