๐ช is the Unicode emoji COOKIE, code point U+1F36A (decimal 127850) in the Miscellaneous Symbols and Pictographs block, added in Unicode 6.0. In HTML write 🍪, and in UTF-8 it is the 4 bytes F0 9F 8D AA.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F36A |
| Decimal | 127850 |
| UTF-8 bytes | F0 9F 8D AA |
| UTF-16 (big-endian) | D83C DF6A |
| UTF-32 | 0001F36A |
| HTML decimal | 🍪 |
| HTML hex | 🍪 |
| CSS | \1F36A |
| JavaScript | \u{1F36A} or \uD83C\uDF6A |
| JSON | \uD83C\uDF6A |
| Python | \U0001F36A |
| Python by name | \N{COOKIE} |
| Java, C# | \uD83C\uDF6A |
| Rust, Swift | \u{1F36A} |
| Go, C, C++ | \U0001F36A |
| URL (percent-encoded) | %F0%9F%8D%AA |
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 | COOKIE |
| Emoji name | cookie |
| Code point | U+1F36A (decimal 127850) |
| Block | Miscellaneous Symbols and Pictographs (U+1F300โU+1F5FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Miscellaneous Symbols and Pictographs
- ๐ข U+1F362 Oden
- ๐ฃ U+1F363 Sushi
- ๐ค U+1F364 Fried shrimp
- ๐ฅ U+1F365 Fish cake with swirl
- ๐ฆ U+1F366 Soft ice cream
- ๐ง U+1F367 Shaved ice
- ๐จ U+1F368 Ice cream
- ๐ฉ U+1F369 Doughnut
- ๐ซ U+1F36B Chocolate bar
- ๐ฌ U+1F36C Candy
- ๐ญ U+1F36D Lollipop
- ๐ฎ U+1F36E Custard
- ๐ฏ U+1F36F Honey pot
- ๐ฐ U+1F370 Shortcake
- ๐ฑ U+1F371 Bento box
- ๐ฒ U+1F372 Pot of food
All 768 characters: Miscellaneous 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+1F36A?
- F0 9F 8D AA (hex), 4 bytes. In a URL it is %F0%9F%8D%AA.
- How do I write U+1F36A in JavaScript or Python?
- JavaScript: \u{1F36A} or \uD83C\uDF6A. Python: \U0001F36A.
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