死键
按下后不立即输出但会修饰下一次击键的按键,用于输入变音符号:按下`再按e可输入è,常见于欧洲键盘布局。
What is a Dead Key?
A dead key is a keyboard key that does not produce a character immediately when pressed — instead, it waits for the next keystroke and combines the two inputs to produce a modified character. The key is "dead" because pressing it alone produces nothing visible; it only comes alive when followed by a compatible base character.
Dead keys are the primary mechanism for typing accented characters on keyboards that don't have dedicated keys for every diacritic combination. They are ubiquitous on European keyboard layouts: the French AZERTY keyboard has dead keys for ^ and ¨, the German QWERTZ keyboard has dead keys for ^ and ´, and many others.
How Dead Keys Work
- Press the dead key (e.g., the key labeled
´acute accent) - The cursor shows nothing (or a placeholder like
´underlined in some implementations) - Press a base character (e.g.,
e) - The combined character is output (
é)
If the combination is not defined, most systems either output both characters separately (´ then e) or just the dead key's nominal character.
Common Dead Keys and Their Combinations
| Dead Key | Name | + a | + e | + i | + o | + u |
|---|---|---|---|---|---|---|
| ´ | Acute | á | é | í | ó | ú |
| ` | Grave | à | è | ì | ò | ù |
| ^ | Circumflex | â | ê | î | ô | û |
| ¨ | Diaeresis | ä | ë | ï | ö | ü |
| ~ | Tilde | ã | — | — | õ | — |
| ° | Ring | å | — | — | — | ů |
| ˇ | Caron | ǎ | ě | ǐ | ǒ | ǔ |
| ¸ | Cedilla | — | ę | — | — | — |
To type the dead key's character alone (e.g., just an acute ´ as a standalone diacritic), press the dead key followed by Space. This produces the standalone combining or spacing diacritic.
Dead Keys on macOS
macOS uses the Option key as a dead key modifier in the US keyboard layout:
| Option + key | Result (then type base) |
|---|---|
| Option + e | ◌́ Acute accent |
| Option + ` | ◌̀ Grave accent |
| Option + i | ◌̂ Circumflex |
| Option + u | ◌̈ Diaeresis/Umlaut |
| Option + n | ◌̃ Tilde |
So: Option + e, then e = é. Option + u, then u = ü. The long-press character popover (introduced in macOS Lion) provides an even simpler alternative.
Dead Keys vs. Compose Keys
| Feature | Dead Key | Compose Key |
|---|---|---|
| Mechanism | Hold to modify next key | Prefix key then sequence |
| Simultaneity | Key held during next press | Sequential, no holding |
| OS integration | Built into keyboard layouts | Separate key designation |
| Flexibility | Fixed to keyboard layout | Highly customizable |
| Typical platform | European keyboards, macOS Option | Linux X11, WinCompose |
Unicode Encoding
Dead key combinations produce precomposed Unicode characters (e.g., é = U+00E9), not a base character followed by a combining mark. The IME/keyboard driver performs this composition and outputs the single code point. If no precomposed form exists, some systems fall back to the base + combining mark representation.
Quick Facts
| Property | Value |
|---|---|
| Definition | Key that modifies the next keystroke to produce a diacritic |
| Visual feedback | Nothing displayed until base character pressed |
| Dead key alone | Press dead key + Space → outputs standalone diacritic |
| macOS acute dead key | Option + E, then base letter |
| macOS umlaut dead key | Option + U, then base letter |
| Difference from Compose | Dead key is held/pressed before; Compose is a prefix latch |
| Output format | Usually precomposed Unicode (single code point) |
| Keyboard layouts with dead keys | French AZERTY, German QWERTZ, Spanish, Portuguese, Nordic |
输入法 中的更多内容
Windows输入法,通过Alt+数字键盘数字按代码页编号输入字符(Alt+0169 → ©,Alt+0176 → °),仅限代码页1252中的字符。
A system-level tool for browsing and inserting Unicode characters. macOS Character Viewer …
通过Unicode码位输入字符的任何方法:十六进制输入(Mac)、Ctrl+Shift+U输入U+XXXX(Linux)或Alt+X(Windows应用程序)。
通过输入十六进制值直接输入Unicode码位的方法。Mac:按住Option+十六进制值+松开;Windows:在Word/WordPad中输入十六进制后按Alt+X。
用于浏览和插入Unicode字符的图形工具。Windows:charmap.exe;Mac:字符查看器(Control+Command+Space);Linux:gucharmap。
用于可视化浏览和选择字符的UI组件(原生或网页版),移动端的表情符号选取器是最常见的例子。
启动多键组合序列的按键(通常为右Alt或自定义映射),是Linux/Unix功能:Compose + a + e → æ,可通过XCompose配置。
通过拼音或字形匹配将按键序列转换为字符的软件组件,使用户能够用标准键盘输入复杂字符(如CJK、韩文等)。