When 'KEYBD trap' is enabled, which it is by default when ksh is used as a login shell, ksh cannot display multibyte characters correctly.
If you type 'あいうえお' (Glyphs valid in ja_JP.UTF-8) in a terminal, it will instead display 'BDFHJ'.
This issue has been verified in the ja_JP.UTF-8 locale but most likely impacts all multibyte locales (including locales based on the SJIS, various EUC, and UTF-8 character sets). Locales where the most commonly used characters are single byte characters (e.g. en_US.UTF-8) will see little to no impact as the usage of multibyte UTF-8 characters would be rare.
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- ksh (when used as the login shell for a user)
- Multibyte locales including ja_JP.UTF-8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.