Bug 277466 - Unreadable output of some manual pages in khelpcenter
Summary: Unreadable output of some manual pages in khelpcenter
Status: RESOLVED DUPLICATE of bug 141340
Alias: None
Product: kio
Classification: Unmaintained
Component: man (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-10 11:38 UTC by Eugeny Shkrigunov
Modified: 2012-08-13 18:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch removing explicit encoding (3.36 KB, patch)
2011-07-10 11:38 UTC, Eugeny Shkrigunov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugeny Shkrigunov 2011-07-10 11:38:37 UTC
Created attachment 61756 [details]
patch removing explicit encoding

Version:           unspecified
OS:                Linux

Hi!
Sorry for my English.

Various localized manual pages have a different character set (f.e. koi8-r in Russia) and displayed incorrectly in khelpcenter because of an explicit encoding (utf-8 or vorse ISO-8859-1) in the kio_man output.

If you apply a patch from the attachment and set encoding autodetection in the khtml settings, then everything is displayed correctly.

For example for Russian locale khtml settins in file ~/.kde4/share/config/khelpcenterrc
[HTML Settings]
AutomaticDetectionLanguage=7
DefaultEncoding=

In addition to the attached patch it is have to have correct value for key AutomaticDetectionLanguage in accordance with user-selected language(locale).

Reproducible: Always

Steps to Reproduce:
launch khelpcenter -> Unix manual pages -> look any manual having an encoding other than utf-8

Actual Results:  
an unrecoverable gibberish

Expected Results:  
readable manual page
Comment 1 Martin Koller 2012-08-13 18:13:44 UTC

*** This bug has been marked as a duplicate of bug 141340 ***