First window bad fonts
I have a problem with fonts.
When I start xterm or konsole window by clicking on a launcher icon on my desktop I get window that does not understand some symbols correctly
(e.g. replaces ' (apostroph) with â (\hat a) , etc. ), moreover if I try to
use midnight commander (mc) then I get ugly symbols instead of lines.
On the other hand,
if I launch the SECOND xterm or konsole window FROM COMMAND LINE
of the first window then everyting works correctly (in the second window).
This irritates me very much, but I do not know how to repair it.
Thank you in advance for any suggestions.
My friend helped me to figure out what was wrong
It is a bug in the /etc/bashrc file:
By default the environmental variable LANG is equal to en_US.UTF-8
(or something like this).
To display fonts correctly the environmental variable LANG should be set
To do this you should write
in your .bashrc script.
You should place this statement AFTER code
if [ -f /etc/bashrc ]; then
(Since there is some problem with /etc/bashrc file)
or you should change /etc/bashrc file if you know how.
|All times are GMT -5. The time now is 05:51 AM.|