Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 99

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 99

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 100

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 100

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 101

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 101
Difference between revisions of "Locale Configuration Issue on Ubuntu 12.04" - Zam Wiki

Difference between revisions of "Locale Configuration Issue on Ubuntu 12.04"

From Zam Wiki

(Created page with "Have you encountered problem like this when you login to your server via ssh? -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) It’s no so difficult to...")
 
 
Line 15: Line 15:
 
   en_US.UTF-8... up-to-date
 
   en_US.UTF-8... up-to-date
 
  Generation complete.
 
  Generation complete.
 +
 +
<disqus></disqus>

Latest revision as of 19:17, 26 May 2014

Have you encountered problem like this when you login to your server via ssh?

-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

It’s no so difficult to fix this annoying warning but as usual, the hardest part is to find the right solution. So here what I’ve done to fix the problem:

root@gh0st:~# locale-gen en_US.UTF-8
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Generating locales...
  en_US.UTF-8... done
Generation complete.

Then this command to complete it:

root@gh0st:~# dpkg-reconfigure locales
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.

blog comments powered by Disqus