π₯ is the Unicode emoji PEANUTS, code point U+1F95C (decimal 129372) in the Supplemental Symbols and Pictographs block, added in Unicode 9.0. In HTML write 🥜, and in UTF-8 it is the 4 bytes F0 9F A5 9C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F95C |
| Decimal | 129372 |
| UTF-8 bytes | F0 9F A5 9C |
| UTF-16 (big-endian) | D83E DD5C |
| UTF-32 | 0001F95C |
| HTML decimal | 🥜 |
| HTML hex | 🥜 |
| CSS | \1F95C |
| JavaScript | \u{1F95C} or \uD83E\uDD5C |
| JSON | \uD83E\uDD5C |
| Python | \U0001F95C |
| Python by name | \N{PEANUTS} |
| Java, C# | \uD83E\uDD5C |
| Rust, Swift | \u{1F95C} |
| Go, C, C++ | \U0001F95C |
| URL (percent-encoded) | %F0%9F%A5%9C |
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 | PEANUTS |
| Emoji name | peanuts |
| Code point | U+1F95C (decimal 129372) |
| Block | Supplemental Symbols and Pictographs (U+1F900βU+1F9FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 9.0 |
Nearby in Supplemental Symbols and Pictographs
- π₯ U+1F954 Potato
- π₯ U+1F955 Carrot
- π₯ U+1F956 Baguette bread
- π₯ U+1F957 Green salad
- π₯ U+1F958 Shallow pan of food
- π₯ U+1F959 Stuffed flatbread
- π₯ U+1F95A Egg
- π₯ U+1F95B Glass of milk
- π₯ U+1F95D Kiwi fruit
- π₯ U+1F95E Pancakes
- π₯ U+1F95F Dumpling
- π₯ U+1F960 Fortune cookie
- π₯‘ U+1F961 Takeout box
- π₯’ U+1F962 Chopsticks
- π₯£ U+1F963 Bowl with spoon
- π₯€ U+1F964 Cup with straw
All 256 characters: Supplemental Symbols and Pictographs.
Official reference
Questions people ask
- What is the HTML code for π₯?
- Use 🥜 (decimal) or 🥜 (hex).
- What is the UTF-8 encoding of U+1F95C?
- F0 9F A5 9C (hex), 4 bytes. In a URL it is %F0%9F%A5%9C.
- How do I write U+1F95C in JavaScript or Python?
- JavaScript: \u{1F95C} or \uD83E\uDD5C. Python: \U0001F95C.
Source
Unicode Character Database 18.0.0 (Unicode License v3) and the Unicode emoji test data; 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