π is the Unicode character GREEK VOCAL NOTATION SYMBOL-14, code point U+1D20D (decimal 119309) 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 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D20D |
| Decimal | 119309 |
| UTF-8 bytes | F0 9D 88 8D |
| UTF-16 (big-endian) | D834 DE0D |
| UTF-32 | 0001D20D |
| HTML decimal | 𝈍 |
| HTML hex | 𝈍 |
| CSS | \1D20D |
| JavaScript | \u{1D20D} or \uD834\uDE0D |
| JSON | \uD834\uDE0D |
| Python | \U0001D20D |
| Python by name | \N{GREEK VOCAL NOTATION SYMBOL-14} |
| Java, C# | \uD834\uDE0D |
| Rust, Swift | \u{1D20D} |
| Go, C, C++ | \U0001D20D |
| URL (percent-encoded) | %F0%9D%88%8D |
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-14 |
| Code point | U+1D20D (decimal 119309) |
| 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+1D205 Greek Vocal Notation Symbol-6
- π U+1D206 Greek Vocal Notation Symbol-7
- π U+1D207 Greek Vocal Notation Symbol-8
- π 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+1D20E Greek Vocal Notation Symbol-15
- π U+1D20F Greek Vocal Notation Symbol-16
- π U+1D210 Greek Vocal Notation Symbol-17
- π 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
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+1D20D?
- F0 9D 88 8D (hex), 4 bytes. In a URL it is %F0%9D%88%8D.
- How do I write U+1D20D in JavaScript or Python?
- JavaScript: \u{1D20D} or \uD834\uDE0D. Python: \U0001D20D.
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