-   Linux - General (
-   -   First window bad fonts (

igor.R 03-16-2004 09:14 AM

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.

igor.R 03-28-2004 12:33 PM

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 en_US.iso88591.
To do this you should write
export LANG=en_US.iso88591
in your .bashrc script.
You should place this statement AFTER code

if [ -f /etc/bashrc ]; then
. /etc/bashrc

(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 09:23 PM.