π is the Unicode character BYZANTINE MUSICAL SYMBOL KONTEVMA ALLO, code point U+1D042 (decimal 118850) in the Byzantine Musical Symbols block, added in Unicode 3.1. In HTML write 𝁂, and in UTF-8 it is the 4 bytes F0 9D 81 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D042 |
| Decimal | 118850 |
| UTF-8 bytes | F0 9D 81 82 |
| UTF-16 (big-endian) | D834 DC42 |
| UTF-32 | 0001D042 |
| HTML decimal | 𝁂 |
| HTML hex | 𝁂 |
| CSS | \1D042 |
| JavaScript | \u{1D042} or \uD834\uDC42 |
| JSON | \uD834\uDC42 |
| Python | \U0001D042 |
| Python by name | \N{BYZANTINE MUSICAL SYMBOL KONTEVMA ALLO} |
| Java, C# | \uD834\uDC42 |
| Rust, Swift | \u{1D042} |
| Go, C, C++ | \U0001D042 |
| URL (percent-encoded) | %F0%9D%81%82 |
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 | BYZANTINE MUSICAL SYMBOL KONTEVMA ALLO |
| Code point | U+1D042 (decimal 118850) |
| Block | Byzantine Musical Symbols (U+1D000βU+1D0FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Nearby in Byzantine Musical Symbols
- πΊ U+1D03A Byzantine Musical Symbol Kontevma
- π» U+1D03B Byzantine Musical Symbol Chorevma Archaion
- πΌ U+1D03C Byzantine Musical Symbol Rapisma
- π½ U+1D03D Byzantine Musical Symbol Parakalesma Archaion
- πΎ U+1D03E Byzantine Musical Symbol Paraklitiki Archaion
- πΏ U+1D03F Byzantine Musical Symbol Ichadin
- π U+1D040 Byzantine Musical Symbol Nana
- π U+1D041 Byzantine Musical Symbol Petasma
- π U+1D043 Byzantine Musical Symbol Tromikon Allo
- π U+1D044 Byzantine Musical Symbol Straggismata
- π U+1D045 Byzantine Musical Symbol Gronthismata
- π U+1D046 Byzantine Musical Symbol Ison Neo
- π U+1D047 Byzantine Musical Symbol Oligon Neo
- π U+1D048 Byzantine Musical Symbol Oxeia Neo
- π U+1D049 Byzantine Musical Symbol Petasti
- π U+1D04A Byzantine Musical Symbol Koufisma
All 246 characters: Byzantine Musical Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝁂 (decimal) or 𝁂 (hex).
- What is the UTF-8 encoding of U+1D042?
- F0 9D 81 82 (hex), 4 bytes. In a URL it is %F0%9D%81%82.
- How do I write U+1D042 in JavaScript or Python?
- JavaScript: \u{1D042} or \uD834\uDC42. Python: \U0001D042.
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