Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 190288

Summary: man doesn't show Unicode characters properly
Product: Doc Translations Reporter: caleb9 <piot100>
Component: [PL]Assignee: Docs Team <docs-team>
Status: RESOLVED CANTFIX    
Severity: normal CC: cla, piot100, rane
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/pl/utf-8.xml
Whiteboard:
Package list:
Runtime testing required: ---

Description caleb9 2007-08-26 11:00:51 UTC
Artykuł dotyczący kodowania UTF-8 w Gentoo (http://www.gentoo.org/doc/pl/utf-8.xml) zawiera błąd w rozdziale dotyczącym pliku konfiguracyjnego dla manuali /etc/man.conf. Przy ustawieniu "NROFF /usr/bin/nroff -mandoc -c" znaki są wyświetlane niepoprawnie. Powinno być "NROFF /usr/bin/nroff -mlatin2 -c -Tutf8 -mandoc" (przynajmniej u mnie wówczas działa). Rozwiązanie znalezione na forum http://forums.gentoo.org/viewtopic-t-575750.html?sid=a10e9fa09ef6aba6646e39c3c1e98812

Reproducible: Always

Steps to Reproduce:
1. Ustawić zgodnie z artykułem NROFF
2. Wyświetlić jakąś stronę polskiego mana ;)
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-26 11:08:05 UTC
Please only file bugs in English.
Comment 2 Dawid Węgliński (RETIRED) gentoo-dev 2007-08-26 11:42:01 UTC
This should be completely removed from the doc as groff/man are known not to work properly and only makes people confused.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-08-26 11:49:22 UTC
You use wrong configuration. Now you try to use ISO-8859-2 manuals with UTF-8 terminal. If you have UTF-8 terminal, you should use UTF-8 manuals.

The proper solution is to use newer Groff which contains native support for UTF-8. Such a version of Groff is available in Eaedificāta Repository.
http://www.ffta.host.sk/Eaedificata/index.pl.html

You should use:
NROFF    /usr/bin/preconv | /usr/bin/nroff -c -mandoc
Comment 4 caleb9 2007-08-26 12:06:16 UTC
Ok, thanks for explanation :]. Anyway I guess i'll wait 'till this groff 1.20 enters the portage tree.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-08-26 12:13:50 UTC
(In reply to comment #4)
> Ok, thanks for explanation :]. Anyway I guess i'll wait 'till this groff
> 1.20 enters the portage tree.

You don't need to wait for it. You can use it now. That repository is very stable.
Comment 6 Dawid Węgliński (RETIRED) gentoo-dev 2007-08-26 12:17:30 UTC
> You don't need to wait for it. You can use it now. That repository is very
> stable.
> 
Right. Especially that it requires glibc-2.6. No thanks.


Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-08-26 12:20:47 UTC
(In reply to comment #6)
> > You don't need to wait for it. You can use it now. That repository is very
> > stable.
> > 
> Right. Especially that it requires glibc-2.6. No thanks.

It doesn't require it. What do you mean?
Comment 8 Dawid Węgliński (RETIRED) gentoo-dev 2007-08-26 12:32:46 UTC
(In reply to comment #7)
> (In reply to comment #6)
> It doesn't require it. What do you mean?
> 
Ok, it doesn't, i did understand this wrong. Anyway this is unofficial and not recommended. And this bug is related to http://www.gentoo.org/doc/pl/utf-8.xml  doc page. Also thanks for your apply.
Comment 9 Damian Kuras (RETIRED) gentoo-dev 2007-08-26 13:18:02 UTC
It's not a translation bug, but the original english version bug. We can't change it in translation if it still is in the english version.