Linux显示中文乱码解决方法
来源:互联网 发布:编程基本算法 编辑:程序博客网 时间:2024/04/30 23:01
经常使用linux终端,有人上传中文命名的文件显示出中文乱码,下面是解决方法。
默认显示的字符编码
#echo $LANGen_US.UTF-8
修改i18n文件# vi /etc/sysconfig/i18n
LANG="zh_CN.GB18030"LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"SYSFONT="lat0-sun16"
重新登录终端后再显示字符编码# echo $LANGzh_CN.GB18030
0 0
- Linux显示中文乱码解决方法
- Linux显示中文乱码解决方法
- Linux显示中文乱码解决方法
- Linux显示中文乱码解决方法
- Linux显示中文乱码解决方法
- Linux显示中文乱码解决方法
- Linux显示中文乱码解决方法
- Linux显示中文乱码解决方法
- jfreechart linux图片中文显示乱码解决方法
- SSH 连接 linux 显示中文乱码 解决方法
- linux中文乱码解决方法
- linux中文乱码解决方法
- linux远程出现乱码,无法显示中文的解决方法
- linux ssh telnet TeraTerm终端中文显示乱码解决方法
- Linux下Eclipse中 中文显示乱码的解决方法
- ssh 登陆redhat linux时中文显示乱码解决方法
- SQL2000中文显示乱码解决方法
- vim显示中文乱码解决方法
- uva 10003——Cutting Sticks
- Zxing美化
- 数组通过foreach引用的问题
- QUESTION 105 Examine the following RMAN script: RMAN> run { debug on; allocate channel c1 type disk;
- STL 常见库函数
- Linux显示中文乱码解决方法
- 解决文本框中输入字符限制---精确控制中文占两个字节,英文占一个字节~
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
- C#动态数组
- 项目管理
- 分析Android的进程通信机制
- 使用 Arrays 类操作 Java 中的数组
- 树莓派电源红色指示灯不亮或闪烁问题
- 特征提取