I am trying to get a proper display of national characters with FreeBSD man. I have tried running the following on 8.1 and 9.0:
# PAGER=less LANG="pl_PL.UTF-8" man -d -M. ./man.1 -- Using architecture: i386:i386 -- Using pager: less -- Using manual sections: 1:1aout:8:2:3:n:4:5:6:7:9:l -- Using locale paths: pl_PL.UTF-8:pl.UTF-8:en.UTF-8:. -- Using standard page width -- Searching for ./man.1 -- Found a usable page, displaying that -- Command: /usr/bin/zcat -f ./man.1 | tbl | groff -S -P-h -Wall -mtty-char -man -Tascii -P-c | less But it prints:
Program man jest systemowA przeglAdarkA stron podrAcznika ekranowego.KaA1/4dy argument...
The same manpage displays properly on a Linux host:
Program man jest systemową przeglądarką stron podręcznika ekranowego. Każdy argument...
I have been told by a knowledgeable person that manpages on 9.0 are supposed to display properly. What am I missing?