Search code examples
linuxubuntulocalemanpage

Whenever i open a man page in ubuntu, i see this warning


When I type any command related to man pages I get this.

"man: can't set the locale; make sure $LC_* and $LANG are correct"

Please help me with this. Thanks


Solution

  • Typing the command locale -a will show which locales are available on your system.

    Typing the command locale will show how your locale variables are currently assigned.

    See this wiki page for an explanation of locale on Ubuntu including how to set it correctly