Skip to content

Type Chinese, Japanese and Korean in an iPhone SSH Terminal

Troubleshoot CJK input-method composition and garbled output in iOS SSH terminals; see how NeoServer handles marked text and UTF-8.

1 min read

Typing Chinese, Japanese, or Korean in a mobile terminal involves two separate steps: the iOS keyboard must finish composing a character, and the remote shell must interpret the resulting bytes correctly. A failure at either step can look like “Chinese does not work in SSH.”

Diagnose input before changing apps

  1. In the same terminal session, try typing CJK text in a simple command such as printf '%s ' '你好'. Watch whether the keyboard’s candidate or composition text appears before you commit it.
  2. If the keyboard cannot compose text, test the iOS software keyboard and any connected hardware keyboard separately. Check the selected keyboard in iOS Settings.
  3. If composition succeeds but output is unreadable, test a UTF-8 locale on the server with locale. Also check the remote program and font; terminal input, server encoding, and glyph rendering are different issues.

NeoServer’s terminal implements iOS UITextInput marked-text handling, which is the mechanism used by composition-based keyboards. It can be an option if your current terminal does not handle your input method well. Behavior still depends on the iOS keyboard, remote shell, program, and server locale; verify your actual workflow before moving saved hosts.

This article does not claim that every version of another SSH app fails to type CJK. For troubleshooting garbled output rather than keyboard composition, see the terminal encoding guide.

Ready to try it?

NeoServer · SSH, Mosh, Docker & SFTP client for iPhone, iPad and Mac

Free on the App Store