| 記号名 | Halfwidth Black Square |
| Unicodeバージョン | 1.1 |
| Unicode | U+FFED |
| Unicodeブロック | |
| 一般カテゴリ | Other Symbol (So) |
| CSSコード | \FFED |
| 16進コード | 0xFFED |
| HTMLコード | ■ |
| LaTeX | \text{HALFWIDTHBLACKSQUARE} |
| 記号 | ■ |
| URLエンコード(UTF-8パーセント) | %EF%BF%AD |
| 読み上げ名 / スクリーンリーダー | Halfwidth Black Square |
| UTF-8 | EF BF AD |
| UTF-16 | FFED |
| UTF-32 | 0000FFED |
1\documentclass{article}2\usepackage{pifont}3\text{HALFWIDTHBLACKSQUARE}4\end{document}以下の方法でほとんどの最新デバイスでhalfwidth black square記号を入力できます:
Alt + 65517 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "halfwidth black square", or use Unicode Hex Input with FFED.
Ctrl + Shift + U, type ffed, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with geometric symbol support.
1span.halfwidth-black-square::before { content: "\FFED"; }1<span>■</span>各プログラミング言語におけるHalfwidth Black Square記号の表現は以下の表の通りです:
| 言語 | 表現 |
|---|---|
| JavaScript / TypeScript | '\uFFED' or String.fromCodePoint(65517) |
| Python | '\N{HALFWIDTH BLACK SQUARE}' or chr(65517) |
| Rust | '\u{FFED}' |
| C / C++ | UTF-8 source or wchar_t with U+FFED |
| Go | string(rune(0xFFED)) |
| Ruby | "\u{FFED}" |