News

Currently rolling on the table…

Recent Posts

X Terminal Cyrillic issue Debian/Ubuntu

If we have a problem with reading/writing in Cyrillic on terminal, for example xfce4-terminal, probably we do not have a support for en_US.utf8 locale.

First we must check our locales list with:

root@debian:~# locale -a

If output is something like this:

C
C.UTF-8
POSIX

We are missing “en_US.utf8” locale and here is our problem with the Cyrillic.
So lets install “locales” if its not already installed on the system.

root@debian:~# apt-get install locales

Now we have to make “en_US.utf8” default locale for our system. But first lets make locale-gen for en_Us. For that purpose run:

root@debian:~# locale-gen en_US en_US.UTF-8

and then:

root@debian:~# dpkg-reconfigure locales

In the new window opened, find “en_US.UTF-8 UTF8” select it and click OK.
Chose “en_US.UTF-8” as default locale for the system environment and click OK.
We have to see “Generation complete.”

Reboot, and now we can read Cyrillic in our terminal.

  1. How to enable Apache2 core dumps for debuging on Debian 7 Leave a reply
  2. How to integrate Varnish in Plesk on Debian Server Leave a reply