When our testing service is deployed in Unix/Linux, pay attention to the default Character Set of the system, including Suse, Red Hat and other well-known operating systems, the default character set are UTF-8, this character set causes garbled characters in the system. If you findProgramThe case and directory are correct, but there are still garbled characters or functions inaccessible. Please pay attention to the character set.
The following uses suse9.0 as an example.
First, you can view the character set. On the SuSE command line interface, type "locale" to view the character set of the current system,
To modify the character set combination, edit the/etc/sysconfig/language file and change rc_lang = "To rc_lang =" zh_cn.gbk ". Then, run the suseconfig command in the command line to activate the change. After running, you must log out and log on again. When running locale, you can see that the character set of the current system is zh_cn.gbk.