The curious case of the disappearing Polish S
6 hours ago
- #Localization
- #Software Bug
- #Keyboard Layouts
- A bug in Medium prevented Polish users from typing the character Ś, which was traced back to a conflict involving Ctrl+Alt+S key combination.
- Polish language uses additional diacritics, leading to unique keyboard layouts developed historically, including a 'programmer's layout' using Alt key combinations.
- Historical factors like communism in Poland delayed localized hardware, forcing adaptations like using Alt keys for diacritics on American keyboards.
- The habit of manual saving via Ctrl+S in early computing led Medium to block this key combination to prevent browser save dialogs, inadvertently affecting Ś input.
- Windows mapped Right Alt (used for Polish diacritics) to Ctrl+Alt internally, causing Ctrl+Alt+S to be blocked, which prevented typing Ś.
- The fix involved modifying Medium's code to block Ctrl+S only when Alt is not pressed, allowing Ś to be typed via Ctrl+Alt+S.
- The bug highlights broader issues of English-centric assumptions in computing, affecting languages with non-Latin scripts and diacritics.