[问题]一个关于终端乱码的问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
imjie
帖子: 249
注册时间: 2007-05-29 21:21
来自: Kaiping China

[问题]一个关于终端乱码的问题

#1

帖子 imjie » 2007-10-23 11:24

我今天乱搞显卡驱动,花屏了,重启,按Ctrl+Alt+F1进入字符界面,然后sudo dpkg-reconfigure xserver-xorg后,发现那个配置程序都是中文的,所以都是乱码,有没有办法令它显示英文呢? 这个问题比较严重,因为在运行一些程序时他都是显示中文的,那么在字符界面都是乱码了,怎么解决呢??
ubuntu=respect+helpfulness+sharing+community+caring+trust+unselfishness
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-10-23 11:37

alias en='export LC_ALL=C'
● 鸣学
头像
aitilang
帖子: 1026
注册时间: 2007-04-28 21:38

#3

帖子 aitilang » 2007-10-23 11:43

export LC_ALL=C
thinkpad x61 2G DDR no cdrom
--------------------------------------------
ABS学习中
sed学习中
awk学习中
perl学习中
新手描述不清,老手猜测不到,胡乱指挥一通,后果难以预料
头像
imjie
帖子: 249
注册时间: 2007-05-29 21:21
来自: Kaiping China

#4

帖子 imjie » 2007-10-23 12:13

aitilang 写了:export LC_ALL=C
这个命令是什么意思??(经测试有效)
ubuntu=respect+helpfulness+sharing+community+caring+trust+unselfishness
头像
imjie
帖子: 249
注册时间: 2007-05-29 21:21
来自: Kaiping China

#5

帖子 imjie » 2007-10-23 12:28

eexpress 写了:alias en='export LC_ALL=C'
这个是不是以后按en就可以了??
ubuntu=respect+helpfulness+sharing+community+caring+trust+unselfishness
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2007-10-23 12:33

如果你加入到~/.bashrc。以后,直接en就可以。还有一个。

alias cn='export LC_ALL=zh_CN.UTF-8'
● 鸣学
oceanboo
帖子: 76
注册时间: 2006-07-26 1:32

#7

帖子 oceanboo » 2007-10-23 13:05

alias=别名
回复