Wojciech Podgórni wrote:
Olivier Esser wrote:

Wojciech Podgórni wrote:

Hi everyone,
I have been searching for the answer of this question for a some time and I staill cannot find the answer: how do you change font setting for man pages to ISO8859-2 coding?
TIA
Wojciech Podgórni



Where are you reading the man pages. You have to change to encoding of the terminal in which you read your man pages. This depend of the terminal you are using. You can try to change the encoding globally by lauching localedrake


Olivier Esser


I apologise for being imprecise. It looks like my problem is that man pager (or the program preprocessing man texts) is wrongly formatting Polish man pages and changing native letters to a mess like "9| " instead of "¶", "c" instead of "¿", etc. I was hoping to find such settings in man.config to allow me to alter this behavour (because I cannot even read fast this thing). No success so far. And this behavour appears REGARDLESS of using CLI or terminal (or printed in PDF file). Changing the font used in terminal won't help. Even using localedrake won't fix it. I guess it must be something with man preprocessing settings (but I'm no expert here).
Desperately looking for a help,
Wojciech Podgórni

I am not sure I can help you, but first try to lauch the following command


xterm -fn -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-2

and try to read a man page; if it display correctly this is a termianl problem: you should probably edit ~/.18n and have all locale (or at least LC_CTYPE) set to be something like:

LC_CTYPE=fr_FR.ISO-8859-2

You should replace the fr_FR by the polish code (which I don't know, maybe you can change only the LC_CTYPE as mentioned above)

otherwise try to localize the source of the man page: these are in /usr/share/man/..... and try to see what encoding they have (decompress them in order to read them) maybe try to open these in a hexadecimal text editor. Are you sure they are written in ISO-8859-2 ?

Hoping to having help,

Olivier


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to