Pemecahan kasus LC_ALL = (unset) di Ubuntu

Bila menemui pesan kesalahan seperti ini atau yang mirip:

perl: warning: Setting locale failed.   
perl: warning: Please check that your locale settings:
....
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_MESSAGES to default locale: No such file or directory   
locale: Cannot set LC_ALL to default locale: No such file or directory

Silahkan dicoba pemecahannya dengan cara berikut:

$ sudo locale-gen "en_US.UTF-8"

lalu 

$ sudo dpkg-reconfigure locales

Semoga berhasil !

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload