Wednesday, 3 October 2018

Chinese character show on input method's ui,php interactive shell in my remote vps can't accept it

My local environment:debian+lxde(desktop). system--lxterminal enter into a terminal.

alias 测试="echo '你好'"
测试
你好

Type php a in lxterminal ,enter into php interactive shell.

php -a
Interactive mode enabled
php > echo "测试";
测试

Draw a conclusion:chinese character can be typed and showed in lxterminal and php interactive shell.

Log to my vps with ssh.

[root@localhost ~]# php72   -i |grep Readline
Readline Support => enabled
Readline library => EditLine wrapper
alias 测试="echo '你好'"
测试
你好

Enter into php interactive shell,chinese character can be typed ,but can't inputed into php interactive shell,you can see chinese character show on chinese input method's ui,php interactive shell in my remote vps can't accept it,why?
It is a dynamic charts below,shows what happened in my vps.
enter image description here



from Chinese character show on input method's ui,php interactive shell in my remote vps can't accept it

No comments:

Post a Comment