π is the Unicode character LINEAR B SYLLABLE B045 DE, code point U+10006 (decimal 65542) in the Linear B Syllabary block, added in Unicode 4.0. In HTML write 𐀆, and in UTF-8 it is the 4 bytes F0 90 80 86.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10006 |
| Decimal | 65542 |
| UTF-8 bytes | F0 90 80 86 |
| UTF-16 (big-endian) | D800 DC06 |
| UTF-32 | 00010006 |
| HTML decimal | 𐀆 |
| HTML hex | 𐀆 |
| CSS | \10006 |
| JavaScript | \u{10006} or \uD800\uDC06 |
| JSON | \uD800\uDC06 |
| Python | \U00010006 |
| Python by name | \N{LINEAR B SYLLABLE B045 DE} |
| Java, C# | \uD800\uDC06 |
| Rust, Swift | \u{10006} |
| Go, C, C++ | \U00010006 |
| URL (percent-encoded) | %F0%90%80%86 |
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 | LINEAR B SYLLABLE B045 DE |
| Code point | U+10006 (decimal 65542) |
| Block | Linear B Syllabary (U+10000βU+1007F) |
| General category | Lo: Other letter |
| Script | Linear B |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Linear B Syllabary
- π U+10000 Linear B Syllable B008 A
- π U+10001 Linear B Syllable B038 E
- π U+10002 Linear B Syllable B028 I
- π U+10003 Linear B Syllable B061 O
- π U+10004 Linear B Syllable B010 U
- π U+10005 Linear B Syllable B001 Da
- π U+10007 Linear B Syllable B007 Di
- π U+10008 Linear B Syllable B014 Do
- π U+10009 Linear B Syllable B051 Du
- π U+1000A Linear B Syllable B057 Ja
- π U+1000B Linear B Syllable B046 Je
- π U+1000D Linear B Syllable B036 Jo
- π U+1000E Linear B Syllable B065 Ju
- π U+1000F Linear B Syllable B077 Ka
All 88 characters: Linear B Syllabary.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐀆 (decimal) or 𐀆 (hex).
- What is the UTF-8 encoding of U+10006?
- F0 90 80 86 (hex), 4 bytes. In a URL it is %F0%90%80%86.
- How do I write U+10006 in JavaScript or Python?
- JavaScript: \u{10006} or \uD800\uDC06. Python: \U00010006.
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