Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UTF8 - Partiell lauffähig, kleine Fehler
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Thu Jul 07, 2005 2:58 pm    Post subject: UTF8 - Partiell lauffähig, kleine Fehler Reply with quote

Gruß,

also ich habe nach den Gentoo Wiki und UTF8 Guide mein System umgestellt - funktioniert soweit alles recht gut, außer das zum Beispiel:

man diesenseitegibtesdnicht

als Antowrt liefert:

Keine Handbuchseite fr diesenseitegibtesdnicht

Es fehlt das ü, das ist irgendwie bei allen Fehlerausgaben so, nun die Frage ... wie beheb ich das, manpage anzeigen, Dateien in UTF8 erstellen und ausgeben sowie anzeigen tut ja alles, also scheint der Fehler ja in irgend nem Paket zu liegen ... welches ist die Frage.

Kann mir da wer helfen, ohne emerge -eD als Vorschlag zu bringen.

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
Fabiolla
Apprentice
Apprentice


Joined: 04 Mar 2004
Posts: 277
Location: somewhere

PostPosted: Thu Jul 07, 2005 4:07 pm    Post subject: Reply with quote

Hallo,
im Wiki-Eintrag fehlt die Beschreibung für die manpages.
Unter Link steht folgendes:

Quote:

Man

Man pages are an integral part of any Linux machine. To ensure that any unicode in your man pages render correctly, edit /etc/man.conf and replace a line as shown below.

Code Listing 3.15: man.conf changes for Unicode support

(This is the old line)
NROFF /usr/bin/nroff -Tascii -c -mandoc
(Replace the one above with this)
NROFF /usr/bin/nroff -mandoc -c


Wenn in der Datei /etc/man.conf bei NROFF der Eintrag -Tascii entfernt wird (so wie in der Gentoo-Dokumentation beschrieben ist) sollte es mit man + Umlauten funktionieren.

lg
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Thu Jul 07, 2005 8:21 pm    Post subject: Reply with quote

Das hab ich schon. Manpages geht ja auch, nur die Fehlermeldungen davon net.

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
Fabiolla
Apprentice
Apprentice


Joined: 04 Mar 2004
Posts: 277
Location: somewhere

PostPosted: Thu Jul 07, 2005 10:35 pm    Post subject: Reply with quote

Hallo,
es ist in diesem Fall 'leider wieder' das Problem, dass die Hilfedatei in der Codierung charset=iso-8859-1 vorhanden ist. Das gleiche Problem gibt es auch bei mplayer, siehe dazu Link. Eigentlich sollte dafür ein Bug erfasst werden, als 'ugly hack' funktioniert folgendes:

Quote:

Die Datei mess.de von charset=iso-8859-1 in utf-8 konvertieren und in der Datei mess.de.codeset das Codeset anpassen. Diese Dateien befinden sich im Source-Paktet von man (man-1.6.tar.gz).

cd /usr/portage/sys-apps/man
ebuild man-1.6.ebuild unpack
cd /var/tmp/portage/man-1.6/work/man-1.6/msgs/

file -i mess.de*
mess.de: text/plain; charset=iso-8859-1
mess.de.codeset: text/plain; charset=us-ascii

iconv -f iso-8859-1 -t utf-8 mess.de > mess.de-x
mv -i mess.de-x mess.de
mv: „mess.de“ überschreiben? y

vi mess.de.codeset - den Eintrag von $ codeset=iso-8859-1 nach $ codeset=utf-8 ändern

cd /usr/portage/sys-apps/man
ebuild man-1.6.ebuild merge

Test danch
$ man foo
Keine Handbuch-Seite für foo



Die Sache hat jedoch den Nachteil, das bei der nächsten Aktualisierung von man die Datein wieder angepasst werden müssen, deshalb wäre ein Bug besser.
lg
Back to top
View user's profile Send private message
Fabiolla
Apprentice
Apprentice


Joined: 04 Mar 2004
Posts: 277
Location: somewhere

PostPosted: Thu Jul 07, 2005 10:57 pm    Post subject: Reply with quote

Nachtrag:
Ich hab diesen Bug noch ergänzt.
Vielleicht wird die Behebung des Bugs das Problem in Zukunft gelöst.
lg
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Fri Jul 08, 2005 8:14 am    Post subject: Reply with quote

Hm vll schreib ich n Patch + Ebuild für ... Use Variable unicode dazu ... wäre doch mal ne Ideen, danke für den Hinweis probier ich heut abend aus - btw ich nehm noch die 1.5p ... die 1.6 dumped bei mir beim ausführen - wieso auch immer.

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum