3

My VPS is NAT. It shows tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968 when I try to run tmux command. How can I fix it?

  • And your question is...? – user692175 Aug 19 '17 at 21:24
  • @MichaelBay sorry. Edited it – Bangladesh 71 Aug 19 '17 at 21:26
3

See Hitechcomputergeek's answer Updated my arch linux server and now I get tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968 - Unix & Linux Stack Exchange.

The same exact thing happened to me. Building on what Thomas said above, I was able to fix it by uncommenting en_US.UTF-8 UTF-8 in my /etc/locale.gen file (previously none of the lines had been uncommented), then running locale-gen.

Note: don't forget to sudo locale-gen and not just locale-gen.

1

run this

apt install locales-all

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.