About Pineapple
Pineapple is the Unicode character 🍍 at codepoint U+1F34D in the Miscellaneous Symbols and Pictographs block of the Supplementary Multilingual Plane (SMP).
Developer Notes
| Unicode Codepoint | |
| Decimal | |
| UTF-8 (hex) | |
| UTF-16 (hex) | |
| HEX Entity | |
| HTML Entity | |
| CSS (\xxxx) | |
| JavaScript | |
| Python |
How to Use Pineapple
To use the Pineapple symbol (🍍) in HTML, insert the
entity 🍍 directly into your markup. The decimal entity 🍍 works in any HTML-serialised document.
In CSS pseudo-elements use content: '\1F34D';.
In JavaScript and TypeScript the escape '\u{1F34D}' evaluates to 🍍. In Python source, write '\U0001F34D'.
The character encodes to F0 9F 8D 8D as UTF-8 bytes and D83C DF4D as UTF-16 code units. Its decimal codepoint is 127821.
This is a fully-qualified emoji and should render with colour on iOS, Android, Windows and macOS. Appearance may vary between platforms, but the underlying codepoint is identical everywhere.