π is the Unicode character MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL, code point U+1D74F (decimal 120655) in the Mathematical Alphanumeric Symbols block, added in Unicode 3.1. In HTML write 𝝏, and in UTF-8 it is the 4 bytes F0 9D 9D 8F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D74F |
| Decimal | 120655 |
| UTF-8 bytes | F0 9D 9D 8F |
| UTF-16 (big-endian) | D835 DF4F |
| UTF-32 | 0001D74F |
| HTML decimal | 𝝏 |
| HTML hex | 𝝏 |
| CSS | \1D74F |
| JavaScript | \u{1D74F} or \uD835\uDF4F |
| JSON | \uD835\uDF4F |
| Python | \U0001D74F |
| Python by name | \N{MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL} |
| Java, C# | \uD835\uDF4F |
| Rust, Swift | \u{1D74F} |
| Go, C, C++ | \U0001D74F |
| URL (percent-encoded) | %F0%9D%9D%8F |
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 | MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL |
| Code point | U+1D74F (decimal 120655) |
| Block | Mathematical Alphanumeric Symbols (U+1D400βU+1D7FF) |
| General category | Sm: Math symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | Yes |
| First in Unicode version | 3.1 |
Decomposition
MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL has a compatibility decomposition (font) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in Mathematical Alphanumeric Symbols
- π U+1D747 Mathematical Bold Italic Small Final Sigma
- π U+1D748 Mathematical Bold Italic Small Sigma
- π U+1D749 Mathematical Bold Italic Small Tau
- π U+1D74A Mathematical Bold Italic Small Upsilon
- π U+1D74B Mathematical Bold Italic Small Phi
- π U+1D74C Mathematical Bold Italic Small Chi
- π U+1D74D Mathematical Bold Italic Small Psi
- π U+1D74E Mathematical Bold Italic Small Omega
- π U+1D750 Mathematical Bold Italic Epsilon Symbol
- π U+1D751 Mathematical Bold Italic Theta Symbol
- π U+1D752 Mathematical Bold Italic Kappa Symbol
- π U+1D753 Mathematical Bold Italic Phi Symbol
- π U+1D754 Mathematical Bold Italic Rho Symbol
- π U+1D755 Mathematical Bold Italic Pi Symbol
- π U+1D756 Mathematical Sans-Serif Bold Capital Alpha
- π U+1D757 Mathematical Sans-Serif Bold Capital Beta
All 997 characters: Mathematical Alphanumeric Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝝏 (decimal) or 𝝏 (hex).
- What is the UTF-8 encoding of U+1D74F?
- F0 9D 9D 8F (hex), 4 bytes. In a URL it is %F0%9D%9D%8F.
- How do I write U+1D74F in JavaScript or Python?
- JavaScript: \u{1D74F} or \uD835\uDF4F. Python: \U0001D74F.
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