September 29, 2018

Display unified CJK characters in macOS terminal as Japanese characters

Without some specific language information (such as the "lang" attribute in HTML), unified CJK Unicode characters are displayed by default in a generic manner. However, users of a certain language would prefer to see the particular character version for that language even in the terminal.

This is possible in macOS by adding that language as a preferred one. For example, in order to display unified CJK characters in a macOS terminal as Japanese characters, you have to:
  • Go to System Preferences > Language & Region
  • Add the Japanese language to the "Preferred languages" panel

Note that you will need to restart the Terminal app before changes take effect.