首页 > 其他 > 详细

ocale: Cannot set LC_CTYPE to default locale: No such file or directory报错解决方法

时间:2014-04-16 13:37:01      阅读:1382      评论:0      收藏:0      [点我收藏+]
ocale: Cannot set LC_CTYPE to default locale: No such file or directory报错解决方法

执行perl, locale,export LANG=en_US.UTF-8之类的命令都出现warning:

> locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
bubuko.com,布布扣
解决方法:
挨个执行下面四条命令:
export LANGUAGE=en_US.UTF-8

export LANG=en_US.UTF-8

export LC_ALL=en_US.UTF-8

locale-gen en_US.UTF-8



本文出自 “king” 博客,请务必保留此出处http://liyanxin.blog.51cto.com/6384195/1395727

ocale: Cannot set LC_CTYPE to default locale: No such file or directory报错解决方法,布布扣,bubuko.com

ocale: Cannot set LC_CTYPE to default locale: No such file or directory报错解决方法

原文:http://liyanxin.blog.51cto.com/6384195/1395727

(0)
(2)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!