How to fix Perl warning setting locale failed on Raspbian

Solution

You can fix the issue by setting the locale to en_US.UTF-8 for example:

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
dpkg-reconfigure locales

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注