免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3299 | 回复: 5
打印 上一主题 下一主题

LC_ALL LANG 帮忙解决环境问题!先谢过。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-10-22 23:31 |只看该作者 |倒序浏览
在windows底下安装strawberry-perl-5.12.3.0.msi
安装完毕 perl -v 测试 报错如下
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x86-multi-t
hread

Copyright 1987-2010, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

在百度上搜索 只要将LC_ALL 设置为c即可 但是没用 请高手指点,谢谢!

论坛徽章:
0
2 [报告]
发表于 2011-10-22 23:33 |只看该作者
补充一下 是windows环境

论坛徽章:
0
3 [报告]
发表于 2011-10-23 10:22 |只看该作者
我遇到过类似问题,不过是linux下,当时把环境变量那向个unset改了,就行了,不过win下不知道。应该也是改环境变量吧。

论坛徽章:
33
ChinaUnix元老
日期:2015-02-02 08:55:39CU十四周年纪念徽章
日期:2019-08-20 08:30:3720周年集字徽章-周	
日期:2020-10-28 14:13:3020周年集字徽章-20	
日期:2020-10-28 14:04:3019周年集字徽章-CU
日期:2019-09-08 23:26:2519周年集字徽章-19
日期:2019-08-27 13:31:262016科比退役纪念章
日期:2022-04-24 14:33:24
4 [报告]
发表于 2011-10-23 12:25 |只看该作者
开始
运行
regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
NLS_LANG

论坛徽章:
0
5 [报告]
发表于 2011-10-23 13:07 |只看该作者
我在另外一台机器上面装是好的 后来查到原因是
区域和语言选项 中没有中文 下载中文语言安装包还是没好
估计要从i386里面重新安装语言包

论坛徽章:
0
6 [报告]
发表于 2011-10-23 13:11 |只看该作者
这个地方没有中文
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP