Solution:
First open the /root/.bashrc file;
(Recommended tutorial: centos tutorial)
vim /root/.bashrc
(Learning video recommendation: linux video tutorial)
Then add the following content at the end of the file:
export LC_CTYPE=zh_CN.UTF-8
The above is the detailed content of Solve the problem that the browser cannot input Chinese under centos. For more information, please follow other related articles on the PHP Chinese website!