| Symbol Name | Locomotive |
| Unicode Version | 1.0 |
| Unicode | U+1F682 |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \1F682 |
| Hex Code | 0x1F682 |
| HTML Code | 🚂 |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | 🚂 |
| URL encode (UTF-8 percent) | %F0%9F%9A%82 |
| Discord / Slack shortcode | :steam_locomotive: |
| GitHub shortcode | :steam_locomotive: |
| Spoken / screen reader name | Locomotive |
| UTF-8 | F0 9F 9A 82 |
| UTF-16 | D83D DE82 |
| UTF-32 | 0001F682 |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the locomotive symbol on most modern devices with the help of following methods:
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Travel & Places in emoji keyboard.
Edit → Emoji & Symbols, search "locomotive".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Travel & Places, or search "locomotive".
Emoji keyboard → Travel; search "locomotive".
1span.locomotive::before { content: "\1F682"; } /* prefer inline grapheme for ZWJ */1<span>🚂</span>Locomotive symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\uD83D\uDE82' or String.fromCodePoint(0x1F682) |
| Python | '\N{LOCOMOTIVE}' |
| Rust | '\u{1F682}' |
| Swift | "\u{1F682}" |
| Go | string(rune(0x1F682)) |
| Ruby | "\u{1F682}" |