Alt-код
Метод ввода Windows, использующий Alt + цифры на цифровой клавиатуре для ввода символов по номеру кодовой страницы (Alt+0169 → ©, Alt+0176 → °). Ограничен символами кодовой страницы 1252.
What is an Alt Code?
Alt codes are a Windows-specific method for entering special characters by holding the Alt key and typing a numeric code on the numeric keypad. Released the Alt key, and the special character appears. They were inherited from the IBM PC's original character entry system and remain functional in Windows today, providing access to hundreds of characters without requiring special keyboard layouts or IME software.
There are two varieties: the original OEM Alt codes (Alt + 1–255 based on Code Page 437, the original IBM PC encoding) and the extended Unicode Alt codes (Alt + 0xxx using the Windows-1252 or system code page).
The Two Alt Code Systems
| System | Key combo | Range | Character set |
|---|---|---|---|
| OEM (CP437) | Alt + 1–255 | 255 characters | IBM PC Code Page 437 |
| ANSI (Windows-1252) | Alt + 0128–0255 | via code page | Windows Western European |
| Unicode | Alt + numpad (some apps) | Limited | App-dependent |
The critical difference between Alt+0169 and Alt+169: - Alt + 169 → ® (from CP437) - Alt + 0169 → © (from Windows-1252/Unicode)
The leading zero signals to Windows: "use the ANSI code page, not OEM."
Common Alt Codes
| Character | Alt Code | Unicode |
|---|---|---|
| © | Alt + 0169 | U+00A9 |
| ® | Alt + 0174 | U+00AE |
| ™ | Alt + 0153 | U+2122 |
| ° | Alt + 0176 | U+00B0 |
| ± | Alt + 0177 | U+00B1 |
| × | Alt + 0215 | U+00D7 |
| ÷ | Alt + 0247 | U+00F7 |
| é | Alt + 0233 | U+00E9 |
| ü | Alt + 0252 | U+00FC |
| ñ | Alt + 00241 | U+00F1 |
| – | Alt + 0150 | U+2013 en dash |
| — | Alt + 0151 | U+2014 em dash |
| • | Alt + 0149 | U+2022 bullet |
| … | Alt + 0133 | U+2026 ellipsis |
Limitations of Alt Codes
-
Requires a numeric keypad: Laptop keyboards without Num Lock/numpad cannot use standard Alt codes. Some laptops have a Fn key override that maps letter keys to a numpad, but this is awkward.
-
Limited Unicode coverage: Standard Alt codes only reach code page characters (up to U+00FF or so). Characters beyond that range generally cannot be entered this way.
-
Application dependency: Some applications intercept the Alt key for their own menus or shortcuts and may not support Alt codes.
-
Memorization required: Unlike dead keys or Compose, Alt codes require memorizing or looking up the numeric value.
Windows Unicode Input Alternative
For broader Unicode input in Windows, type the hexadecimal code point and press Alt+X (works in Microsoft Word and some other applications):
2026 Alt+X → … (ellipsis, U+2026)
2014 Alt+X → — (em dash, U+2014)
1F600 Alt+X → 😀 (if app supports it)
This approach supports the full Unicode range, not just the first 255 characters.
Quick Facts
| Property | Value |
|---|---|
| Platform | Windows only |
| Requirement | Numeric keypad (or Num Lock emulation) |
| OEM system | Alt + 1–255 using Code Page 437 |
| ANSI system | Alt + 0128–0255 using Windows-1252 |
| Leading zero | Alt+0xxx uses ANSI; Alt+xxx uses OEM |
| Alt code for © | Alt + 0169 |
| Alt code for em dash | Alt + 0151 |
| Unicode alternative (Word) | Type hex code, then Alt+X |
| macOS equivalent | Option key combinations or Character Viewer |
Ещё в Методы ввода
A system-level tool for browsing and inserting Unicode characters. macOS Character Viewer …
Программный компонент, обеспечивающий ввод сложных символов (CJK, корейских и т.д.) с помощью …
Прямой ввод кодовой позиции Unicode путём набора шестнадцатеричного значения. Mac: удерживать Option …
Компонент интерфейса (нативный или веб-приложение) для визуального просмотра и выбора символов. Панели …
Клавиша (обычно правый Alt или настраиваемая), начинающая многоклавишную композитную последовательность. Функция Linux/Unix: …
Любой метод ввода символов по их кодовой позиции Unicode: hex-ввод (Mac), ввод …
Клавиша, не производящая немедленного вывода, но изменяющая следующее нажатие. Используется для диакритических …
Графическая утилита для просмотра и вставки символов Unicode. Windows: charmap.exe. Mac: Character …