Sering kali waktu saya baru install Ubuntu muncul warning Locale. Biasanya muncul dari perl karena beberapa locale setting tidak diset secara default. Ini bukan error hanya warning saja, tapi cukup mengganggu.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Solusinya export saja locale yang diminta seperti dibawah ini:
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8