Ubuntu: locale: Cannot set LC_CTYPE to default locale: No such file or directory

For some reason, It seems that LC_CTYPE is not declared and can't use fallback to use LC_ALL value.

So my very easy fix on this is to declare or define a global shell environment variable in my /etc/default/locale.

Here's what my /etc/default/locale contains,


toytoy@ubuntu-toytoygogie:~$ cat /etc/default/locale
LANG="en_US.UTF-8"
LC_ALL=en_US.UTF-8

Hope that helps.

Comments

Popular posts from this blog

Converting sectors into MB - Useful in understanding the sectors in iostat in Linux

What is Disk Contention?

Installing MySQL from source: Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)