π is the Unicode character GREEK VOCAL NOTATION SYMBOL-17, code point U+1D210 (decimal 119312) in the Ancient Greek Musical Notation block, added in Unicode 4.1. In HTML write 𝈐, and in UTF-8 it is the 4 bytes F0 9D 88 90.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D210 |
| Decimal | 119312 |
| UTF-8 bytes | F0 9D 88 90 |
| UTF-16 (big-endian) | D834 DE10 |
| UTF-32 | 0001D210 |
| HTML decimal | 𝈐 |
| HTML hex | 𝈐 |
| CSS | \1D210 |
| JavaScript | \u{1D210} or \uD834\uDE10 |
| JSON | \uD834\uDE10 |
| Python | \U0001D210 |
| Python by name | \N{GREEK VOCAL NOTATION SYMBOL-17} |
| Java, C# | \uD834\uDE10 |
| Rust, Swift | \u{1D210} |
| Go, C, C++ | \U0001D210 |
| URL (percent-encoded) | %F0%9D%88%90 |
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 | GREEK VOCAL NOTATION SYMBOL-17 |
| Code point | U+1D210 (decimal 119312) |
| Block | Ancient Greek Musical Notation (U+1D200βU+1D24F) |
| General category | So: Other symbol |
| Script | Greek |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.1 |
Nearby in Ancient Greek Musical Notation
- π U+1D208 Greek Vocal Notation Symbol-9
- π U+1D209 Greek Vocal Notation Symbol-10
- π U+1D20A Greek Vocal Notation Symbol-11
- π U+1D20B Greek Vocal Notation Symbol-12
- π U+1D20C Greek Vocal Notation Symbol-13
- π U+1D20D Greek Vocal Notation Symbol-14
- π U+1D20E Greek Vocal Notation Symbol-15
- π U+1D20F Greek Vocal Notation Symbol-16
- π U+1D211 Greek Vocal Notation Symbol-18
- π U+1D212 Greek Vocal Notation Symbol-19
- π U+1D213 Greek Vocal Notation Symbol-20
- π U+1D214 Greek Vocal Notation Symbol-21
- π U+1D215 Greek Vocal Notation Symbol-22
- π U+1D216 Greek Vocal Notation Symbol-23
- π U+1D217 Greek Vocal Notation Symbol-24
- π U+1D218 Greek Vocal Notation Symbol-50
All 70 characters: Ancient Greek Musical Notation.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝈐 (decimal) or 𝈐 (hex).
- What is the UTF-8 encoding of U+1D210?
- F0 9D 88 90 (hex), 4 bytes. In a URL it is %F0%9D%88%90.
- How do I write U+1D210 in JavaScript or Python?
- JavaScript: \u{1D210} or \uD834\uDE10. Python: \U0001D210.
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