Skip to content

Alt Code

Enter a character in Microsoft PC environments by holding Alt, typing a decimal number on the numeric keypad, and interpreting that number under a context-dependent legacy or Unicode mapping.

Version
v1 · 2026-08-30 · History
Domain-specific #
1272
Origin domain
computer input
Subdomain
microsoft pc keyboard input
Aliases
Alt numpad input method, Alt numeric input, Alt-code entry

Core Idea

An Alt Code is a character-entry method inherited from IBM-compatible personal computers and retained in Microsoft environments. A user holds the Alt modifier, types a decimal sequence on the numeric keypad, and releases Alt; the input system or receiving control interprets the accumulated number under a particular mapping and emits a character or control value. The name is often used for a table entry such as “Alt+0169,” but the abstraction is the input protocol, not the table.

The locked identity is input focus + held Alt state + numeric-keypad digit sequence + completion on Alt release + selected interpretation rule + numeric value lookup or truncation + emitted character. The interpretation rule is indispensable.

Scope of Application

The home scope is IBM-PC-derived and Microsoft character input. Historically, the IBM PC BIOS accumulated decimal keypad input while Alt was held and supplied a byte to the keyboard buffer. The displayed glyph depended on the applicable hardware character generator and code page. Windows preserved the behavior for compatibility while adding a leading-zero convention for its then-current Windows code page.

In contemporary Windows software, the protocol recurs in ordinary edit controls, Rich Edit controls, word processors, legacy applications, and compatibility-sensitive workflows.

Clarity

“Alt code” is ambiguous between a protocol, a particular sequence, and a chart. This node denotes the protocol family. A token such as 0169 is only an instance under an assumed mapping. A chart is documentation. The recognizable abstraction is the transaction that converts a keypad number into a character when Alt is released.

Manages Complexity

Alt Code compresses a multi-layer compatibility problem into named roles. Without it, an unexpected glyph looks random. With it, diagnosis separates keyboard event recognition, state accumulation, prefix selection, code-page mapping, value-width behavior, receiver override, and glyph rendering. Each layer suggests a different repair: use the keypad, correct the prefix, verify the input locale, choose a compatible control, or use a different Unicode input method.

Abstract Reasoning

  1. If the leading zero changes while digits and application remain fixed, a different mapping family may be selected and the output can change. 2. If the code page changes while the numeric sequence remains fixed, the mapped character may change because the number alone lacks semantic completeness. 3. If a value above 255 is accepted by Rich Edit but reduced by a default handler, the same sequence can yield different characters across controls.

Knowledge Transfer

The exact abstraction transfers among applications and Windows versions that implement the inherited Alt-numpad transaction. It is useful in documentation, technical support, localization testing, accessibility testing, and text-control engineering because it supplies a common recognition and failure vocabulary.

The portable skeleton—symbol intention encoded as digits, interpreted under a shared scheme, then decoded into a character—belongs to Encoding and Decoding. Other platforms can instantiate that prime without instantiating Alt Code. Treating every numeric character-entry method as an Alt Code would erase the very compatibility mechanism that makes this node informative.

Relationships to Other Abstractions

Local relationship map for Alt CodeParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Alt CodeDOMAINPrime abstraction: Encoding And Decoding — is a kind ofEncodingAnd DecodingPRIME

Current abstraction Alt Code Domain-specific

Parents (1) — more general patterns this builds on

  • Alt Code is a kind of Encoding And Decoding Prime

    the intended character is represented by a numeric code and recovered under a mapping shared between convention and handler.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Alt Code sits in a sparse region of the domain-specific corpus (96th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (1565 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-09-08