16진수 입력
16진수 값을 입력하여 유니코드 코드 포인트를 직접 입력하는 방법. Mac: Option + 16진수 + 해제. Windows: Word/WordPad에서 16진수 입력 후 Alt+X.
What is Hex Input?
Hex input refers to methods for entering a Unicode character by typing its hexadecimal code point value directly. Instead of navigating a character picker or memorizing keyboard shortcuts, you type the four- or five-character hex representation of a character's Unicode value and invoke a conversion command. This gives technically proficient users direct, precise access to any of the 1,114,112 possible Unicode code points.
Hex Input Methods by Platform
macOS: Unicode Hex Input Keyboard
macOS provides a built-in "Unicode Hex Input" keyboard layout that maps Option + hex digits to the corresponding Unicode character:
- Go to System Settings → Keyboard → Input Sources → Add… → Other → Unicode Hex Input
- Switch to this input method (via menu bar or keyboard shortcut)
- Hold Option and type the 4-hex-digit code point: Option + 0 0 E 9 → é
For code points beyond U+FFFF (5 hex digits), type a leading zero to pad to 8 digits, or the system accepts 5-digit entries directly.
Windows: Alt+X in Microsoft Applications
In Microsoft Word, WordPad, and some other Windows apps:
1. Type the hex code point: 2014
2. Press Alt+X
3. The code is converted to the character: —
This works bidirectionally — place the cursor after a special character and press Alt+X to see its hex code point.
Linux: GTK Ctrl+Shift+U
In GTK applications (including most GNOME apps, gedit, Firefox on Linux):
1. Press Ctrl + Shift + U
2. Type the hex code point (an underlined u appears as a prompt)
3. Press Enter or Space
4. The character is inserted
Ctrl+Shift+U → type "2026" → Enter → …
Ctrl+Shift+U → type "1F600" → Enter → 😀
Terminal and Programming
In terminal emulators and programming contexts, Unicode characters are entered via escape sequences:
# Bash: $'...' ANSI-C quoting
echo $'\u00e9' # é
echo $'\U0001F600' # 😀 (capital U for > U+FFFF)
# Python
print("\u00e9") # é
print("\U0001F600") # 😀
# JavaScript
"\u00e9" // é
"\u{1F600}" // 😀 (ES6 syntax for > U+FFFF)
# CSS
content: "\00e9"; /* é */
content: "\1F600"; /* 😀 */
Hex vs. Decimal Code Points
Unicode code points are conventionally written in hexadecimal, prefixed with U+. The decimal equivalent is rarely used in Unicode contexts (unlike the old Windows Alt codes which used decimal).
| Hex (U+) | Decimal | Character |
|---|---|---|
| U+00E9 | 233 | é |
| U+2026 | 8230 | … |
| U+2014 | 8212 | — |
| U+1F600 | 128512 | 😀 |
Finding a Character's Hex Value
- macOS Character Viewer: shows Unicode code point in the detail panel
- Windows Character Map: shows code point in status bar
- Python:
hex(ord('é'))→'0xe9' - JavaScript:
'é'.codePointAt(0).toString(16)→'e9' - UnicodeFYI.com: search by character, name, or description
Quick Facts
| Property | Value |
|---|---|
| Unicode hex prefix | U+ (e.g., U+2026) |
| macOS hex input method | "Unicode Hex Input" keyboard + Option + hex digits |
| Windows hex input | Type hex + Alt+X (Microsoft apps) |
| Linux GTK hex input | Ctrl + Shift + U, then hex digits, then Enter |
| Python escape | \uXXXX (BMP) or \UXXXXXXXX (full range) |
| JavaScript escape | \uXXXX or \u{XXXXX} (ES6) |
| CSS escape | \XXXXXX (hex, with trailing space if needed) |
관련 용어
입력 방식의 더 많은 용어
Alt + 숫자 패드 숫자를 사용하여 코드 페이지 번호로 문자를 입력하는 Windows …
A system-level tool for browsing and inserting Unicode characters. macOS Character Viewer …
즉시 출력 없이 다음 키 입력을 수정하는 키. 분음 부호 입력에 사용됩니다: …
문자를 시각적으로 탐색하고 선택하는 UI 구성 요소(네이티브 또는 웹 기반). 모바일의 이모지 …
유니코드 문자를 탐색하고 삽입하는 GUI 유틸리티. Windows: charmap.exe. Mac: 문자 뷰어(Control+Command+Space). Linux: …
유니코드 코드 포인트로 문자를 입력하는 모든 방법: 16진수 입력(Mac), Ctrl+Shift+U를 통한 U+XXXX …
음성 또는 구조적 매칭을 통해 키 입력 시퀀스를 문자로 변환하여 표준 키보드로 …
다중 키 합성 시퀀스를 시작하는 키(보통 오른쪽 Alt 또는 사용자 지정). Linux/Unix …