Tuesday, May 8, 2007

So you got some funny fonts?

I got some funny font (should I call it crappy?) when I was alerted with error messages or referring manual pages.

This is how I did. It was not neccessarily the best method, but at least it work for me.

The value of font usually mapped to locale of the running systems. To know about it just type:

echo $LC_ALL

This will display the overall values of monetary,font and language of the running session.

Export the value by using

export LC_ALL=C
This setting will work on current session. If you plan to save this setting, put it in your RC in your shell profile:

Edit .bashrc and put

export LC_ALL=C


as above

No comments: