| Symbol Name | Longevity Hanzi |
| Unicode Version | 1.1 |
| Unicode | U+5BFF |
| Unicode block | |
| General category | Other Letter (Lo) |
| CSS Code | \5BFF |
| Hex Code | 0x5BFF |
| HTML Code | 寿 |
| LaTeX | \CJKchar{5BFF} |
| Symbol | 寿 |
| URL encode (UTF-8 percent) | %E5%AF%BF |
| Spoken / screen reader name | Longevity Hanzi |
| UTF-8 | E5 AF BF |
| UTF-16 | 5BFF |
| UTF-32 | 00005BFF |
1\documentclass{article}2\usepackage{pifont}3\CJKchar{5BFF}4\end{document}You can type the longevity hanzi symbol on most modern devices with the help of following methods:
Alt + 23551 on Windows (numeric keypad with Num Lock), or insert via Character Map / IME.
Edit → Emoji & Symbols, search "longevity hanzi", or use Unicode Hex Input with 5BFF.
Ctrl + Shift + U, type 5bff, then Enter (layout-dependent), or use an IBus CJK table.
Paste from this page, use text replacement, or pick from a Japanese/Chinese keyboard.
Paste from this page or use a keyboard with CJK ideograph support.
1span.cjk-longevity::before { content: "\\5BFF"; font-family: "Hiragino Sans", "PingFang SC", "Noto Sans CJK SC", serif; }1<span>寿</span>Longevity Hanzi symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u5BFF' or String.fromCodePoint(23551) |
| Python | '\N{CJK UNIFIED IDEOGRAPH-5BFF}' or chr(23551) |
| Rust | '\u{5BFF}' |
| C / C++ | UTF-8 source or wchar_t with U+5BFF |
| Go | string(rune(0x5BFF)) |
| Ruby | "\u{5BFF}" |