字符集和当前语言环境的信息有什么区别和练习?
我不清楚。
查看linux下的字符集设置使用命令locale
locale - Get locale-specific information. locale :场所。
The locale program writes information about the current locale
environment, or all locales, to standard output.
将有关当前语言环境或全部公共语言环境的信息写到标准输出上。
执行locale命令:得到LANG=zh_CN.UTF-8
redhat下修改字符集的配置文件:/etc/sysconfig/i18n