[Bug 230030] New: russian man pages shown in wrong encoding
https://bugzilla.novell.com/show_bug.cgi?id=230030 Summary: russian man pages shown in wrong encoding Product: openSUSE 10.2 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Documentation AssignedTo: rwalter@novell.com ReportedBy: dvaleev@bcc.ru QAContact: ke@novell.com clean install with russian install man-pages-ru LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= man ls (wrong characters) LANG=ru_UA.utf8 man ls (shown fine) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #1 from nderkach@gmail.com 2006-12-20 12:41 MST ------- Created an attachment (id=110573) --> (https://bugzilla.novell.com/attachment.cgi?id=110573&action=view) patch for man-pages-ru spec Here is the patch converting all the stuff from koi8-u to utf-8 encoding. Hopefully it will help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #2 from dvaleev@bcc.ru 2006-12-20 12:46 MST ------- Its doesnt resolve bug. It fixes some files /usr/share/doc/packages/man-pages-ru/FAQ for example but not man pages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de ------- Comment #3 from andreas.hanke@gmx-topmail.de 2006-12-20 12:51 MST ------- Converting man pages to UTF-8 is the wrong fix! (groff doesn't support UTF-8 at all; the rudimentary UTF-8 support it has is just a hack). Something goes wrong here, but most likely the fix looks different. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rwalter@novell.com |mfabian@novell.com ------- Comment #4 from ke@novell.com 2007-01-02 03:45 MST ------- Mike, can you please help with this problem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #5 from mfabian@novell.com 2007-01-02 07:59 MST ------- The same problem exists in cs_CZ.UTF-8. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #6 from mfabian@novell.com 2007-01-02 08:21 MST ------- And of course in the other languages which had ISO-8859-2 as the legacy encoding. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #7 from mfabian@novell.com 2007-01-02 08:38 MST ------- There are problems displaying Japanese man-pages when running in ja_JP.eucJP locale as well (ja_JP.UTF-8 locale works OK): mfabian@magellan:/sakura/mfabian/suse-packages/10.1/man$ locale LANG=ja_JP.eucJP LC_CTYPE="ja_JP.eucJP" LC_NUMERIC="ja_JP.eucJP" LC_TIME="ja_JP.eucJP" LC_COLLATE="ja_JP.eucJP" LC_MONETARY="ja_JP.eucJP" LC_MESSAGES="ja_JP.eucJP" LC_PAPER="ja_JP.eucJP" LC_NAME="ja_JP.eucJP" LC_ADDRESS="ja_JP.eucJP" LC_TELEPHONE="ja_JP.eucJP" LC_MEASUREMENT="ja_JP.eucJP" LC_IDENTIFICATION="ja_JP.eucJP" LC_ALL= mfabian@magellan:/sakura/mfabian/suse-packages/10.1/man$ man man man(1) を再フォーマットしています。しばらくお待ちください.. invalid charset name /usr/share/man/ja/man1/man.1.gz:574: warning: can't find special character `shc' man: コマンドはステータス 256 で終了しました: /usr/bin/zsoelim /usr/share/man/ja/man1/man.1 | /usr/bin/tbl | /usr/bin/nroff -mandocdb -rLL=82n -rLT=82n -Tnippon | less mfabian@magellan:/sakura/mfabian/suse-packages/10.1/man$ man ls ls(1) を再フォーマットしています。しばらくお待ちください.. invalid charset name man: コマンドはステータス 256 で終了しました: /usr/bin/zsoelim /usr/share/man/ja/man1/ls.1 | /usr/bin/tbl | /usr/bin/nroff -mandocdb -rLL=82n -rLT=82n -Tnippon | less mfabian@magellan:/sakura/mfabian/suse-packages/10.1/man$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #8 from mfabian@novell.com 2007-01-02 09:55 MST ------- The problem with Japanese in ja_JP.eucJP locale occurs only because "less" cannot handle EUC-JP encoding: mfabian@magellan:~$ LESSCHARSET=EUC-JP less invalid charset name mfabian@magellan:~$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #9 from mfabian@novell.com 2007-01-02 10:13 MST ------- Concering the problem in ru_RU.UTF-8, cs_CZ.UTF-8, ...: The "man" package has been updated between SUSE Linux 10.1 and openSUSE 10.2. Now "man" adds a "iconv" command to the pipeline used: mfabian@magellan:~$ locale LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= mfabian@magellan:~$ man -d ls 2>&1 | grep pipeline Starting pipeline: /usr/bin/zsoelim /usr/share/man/ru/man1/ls.1 | /usr/bin/tbl | /usr/bin/nroff -mandocdb -Tascii8 | iconv -c -f KOI8-R -t UTF-8 | /usr/bin/col -b -p -x | less [input: 0, output: 0] mfabian@magellan:~$ "man" in SUSE Linux 10.1 did not do that. Therefore, I had a hack in /usr/bin/nroff to add such a call to iconv to make it work for Russian and Czech in UTF-8. But now there are 2 calls to iconv because "man" adds another one and we get the conversion twice which of course results in garbage output. This can be fixed by removing my hack for these languages from /usr/bin/nroff. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 ------- Comment #10 from mfabian@novell.com 2007-01-02 10:56 MST ------- Created an attachment (id=111303) --> (https://bugzilla.novell.com/attachment.cgi?id=111303&action=view) bugzilla-230030.patch change to the file utf8.patch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230030 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #11 from mfabian@novell.com 2007-01-02 11:23 MST ------- Submitted to STABLE and to the openSUSE build service. Fixed packages should appear soon at: http://software.opensuse.org/download/M17N/openSUSE_10.2/ → FIXED. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com