Fix Ubuntu Locale settings

perl: warning: Setting locale failed.    perl: warning: Please check that your locale settings:            LANGUAGE = "en_US:en",            LC_ALL = (unset),            LC_MESSAGES = "en_US.UTF-8",            LANG = "en_US.UTF-8"       

Answer:

sudo sh -c "echo 'LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8' >> /etc/environment"



also

Just add the following to your .bashrc file (assuming you're using bash)

export LC_ALL="en_US.UTF-8"  also  sudo locale-gen en_US en_US.UTF-8 dpkg-reconfigure locales  



0.00
 
Үнэлсэн: 0 удаа.
Saturday, October 18, 2014,4:47 AM | Category: Linux
send |

post comment
comments (0) | :


Login name:  Password: Login and write
Name: 
Site: 
Write with other name


subscribe:
Спэм хамгаалалт: