The terminal opened from menu ‘Execute Shell’ cannot accept Chinese input, how to resolve this problem？
There is an open issue for this: https://github.com/rancher/rancher/issues/7966
NO, it is not the same as the issue. The problem described in the issue is about Chinese Display, but my problem is about input of Chinese.
Was able to verify that you can input Chinese in shell. Steps for enabling:
- apt-get update
- install language-pack-zh-hans
- locale -a
- echo export LC_ALL=‘zh_CN.utf8’ >> ~/.bashrc
- source ~/.bashrc
- echo ‘hello’ > 中文.log
The steps you showed can make terminal display Chinese, but Chinese can not be input from web terminal opened from ‘Execute Shell’.
When I switch input method to Chinese, and I click alphabet key, the character will be display on the terminal directly, instead of displaying in input method window, which should be the normal case in Chinese input.
What is the problem?