User Tools

Site Tools


linux:artikel:perl:warning:setting-locale-failed

Error perl: warning: Setting locale failed

Mendapatkan Error

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_MEASUREMENT = "id_ID.UTF-8",
	LC_PAPER = "id_ID.UTF-8",
	LC_MONETARY = "id_ID.UTF-8",
	LC_NAME = "id_ID.UTF-8",
	LC_ADDRESS = "id_ID.UTF-8",
	LC_NUMERIC = "id_ID.UTF-8",
	LC_TELEPHONE = "id_ID.UTF-8",
	LC_IDENTIFICATION = "id_ID.UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

solusi

export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8

atau jika menggunakan zsh

# Setting for the new UTF-8 terminal support in Lion
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8

sumber : https://stackoverflow.com/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/artikel/perl/warning/setting-locale-failed.txt · Last modified: 2025/02/18 00:16 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki