Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-26-2003, 03:27 AM   #1
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
funny characters in man pages

Well I know a long time ago I had some funny characters in the man pages on a redhat 8 machine. I know I had to change something in the /etc/profile.d/ file, but I can not remember what it was now. I was wondering if anyone out there knew how to get rid of all those funny characters in the man pages by changing that file, or an easier way if possible. Thanks for the help
Old 06-26-2003, 03:29 AM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You can do:

export LANG=C

That will fix it temporarily. To fix it permanently you can add that line to your /etc/bashrc
Old 06-26-2003, 12:14 PM   #3
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks for the help that did it! I was wondering do you edit the bashrc file in /etc instead of your home directory so that it will work for every user?
Old 06-26-2003, 05:45 PM   #4
Registered: Jun 2003
Distribution: Fedora Core 2
Posts: 37

Rep: Reputation: 15
Could do. Also, for anyone else who happens to read this, I still get the bad characters when I print a manpage. Anyone know how to fix that?!?

Old 06-27-2003, 01:34 AM   #5
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange characters in man pages _maco_ Linux - General 2 06-01-2009 06:44 PM
Weird characters in man pages - possible CHARSET problem?? benr77 Linux - General 2 06-02-2005 02:44 PM
characters disappearing in man command smips Linux - General 2 05-06-2005 05:29 AM
Apache 2.0.52 funny characters on web page mnauta Linux - Networking 1 12-03-2004 01:24 AM
man page with weird characters? falconxlc Linux - General 1 12-07-2002 11:17 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration