| Nom du symbole | Shamrock |
| Version Unicode | 1.0 |
| Unicode | U+2618 |
| Bloc Unicode | |
| Catégorie générale | Emoji (So) |
| Code CSS | \2618 |
| Code hexadécimal | 0x2618 |
| Code HTML | ☘️ |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbole | ☘️ |
| Encodage URL (pourcent UTF-8) | %E2%98%98%EF%B8%8F |
| Nom oral / lecteur d’écran | Shamrock |
| UTF-8 | E2 98 98 EF B8 8F |
| UTF-16 | 2618 FE0F |
| UTF-32 | 00002618 0000FE0F |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}Vous pouvez saisir le symbole shamrock sur la plupart des appareils modernes avec les méthodes suivantes :
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Animals & Nature in emoji keyboard.
Edit → Emoji & Symbols, search "shamrock".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Animals & Nature, or search "shamrock".
Emoji keyboard → Animals; search "shamrock".
1span.shamrock::before { content: "\2618"; } /* prefer inline grapheme for ZWJ */1<span>☘️</span>La représentation du symbole Shamrock dans différents langages de programmation se trouve dans le tableau ci-dessous :
| Langage | Représentation |
|---|---|
| JavaScript / TypeScript | String.fromCodePoint(0x2618, 0xFE0F) |
| Python | '\N{SHAMROCK}' |
| Rust | '\u{2618}' |
| Swift | "\u{2618}" |
| Go | string(rune(0x2618)) |
| Ruby | "\u{2618}" |