linux - Debian 上的 Perl 语言环境警告

标签 linux perl debian

我收到这个警告:

perl: warning: Please check that your locale settings:  
    LANGUAGE = (unset),  
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"  
are supported and installed on your system.  

我该如何解决这个问题?

最佳答案

您需要设置语言环境,最简单的可能是添加

LANG=C

LANG=en_US

或文件 /etc/environment 中您最喜欢的设置。

这通常只发生在非常裸露的服务器环境或 chroot 中。

关于linux - Debian 上的 Perl 语言环境警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4226157/

相关文章:

linux - 使用 linux 将字符串 dd mm yyyy 转换为 yyyymmdd

如果 PATH 环境变量被初始化,Perl IPC::Cmd 不会运行应用程序

perl - 如何在 Win32 上使用 Perl 将数据发送到网络打印机?

linux - 如何在 Debian 上创建 HTTPS 代理服务器

linux - 设置变量与环境变量 Linux(debian) Bash shell

linux - 如何在shell中插入带有序列号的列?

linux - bash 查找至少包含一个数组元素的行

linux - 何时考虑 Linux 内核过载

php - 如何在 Perl 中缓存和清除输出缓冲区?

php - 在 Debian 6 上安装 Gearman PHP 扩展