Closed flurinduerst closed 8 years ago
Hi, Got the same problem. Here is 2 solutions to fix it permanently:
echo "export LANGUAGE=en_US.UTF-8">>~/.bashrc
echo "export LC_ALL=en_US.UTF-8 ">>~/.bashrc
# Edit /etc/default/locale file (with sudo)
LANGUAGE="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
I hope this will help you.
Edit : replace .bash_profile with .bashrc in first solution
works perfectly. thanks a lot!
after executing the first solution (which fixes the language-problem) and restarting the vm, I can't execute commands like ll
(for ls -l) on the VM anymore. The .bashrc
aliases aren't working anymore.
I tested it on two scotchbox installations, and it happend after I've added those commands to the .bash_profile
like you suggested :/
Opps my bad sorry guy.
rm ~/.bash_profile
)Try same commands in /.bashrc file (not .bash_profile)
echo "export LANGUAGE=en_US.UTF-8">>~/.bashrc
echo "export LC_ALL=en_US.UTF-8 ">>~/.bashrc
exit
) and vagrant ssh
(Now ll
will work)echo $LANGUAGE
will output "en_US.UTF-8" as expected :-)Further more information about .bashrc / .bash_profile file : http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html
I update last answer right now ;-)
awesome. thanks for the article, learned something today :)
You're welcome :wink:
Output from
locale
on Scotch Box VMWhen trying to push a database with Wordmove we get the following error:
Adding
export LANGUAGE=en_US.UTF-8
andexport LC_ALL=en_US.UTF-8
solves the problem, but this gets reset every time we exit the VM. Is this an ubuntu specific thing?