Skip to content
  • Martin Koller's avatar
    Do not use KEncodingProber - it gives false results; Try dirname or UTF8 · 3208955e
    Martin Koller authored
    The auto-detection of the man page file content with KEncodingProber
    was not successful - there are some bug reports showing it does not work
    reliable - often giving EUC-JP or gb18030 as encoding, which is wrong.
    
    I now try to find the encoding inside the man page file
    (according manconv) or from the name of the directory in which the
    file resides. However, on my openSuse system, neither the definition
    inside nor the directory name tells me it's UTF-8, but all pages are in
    UTF-8. Therefore I now use UTF-8 as default, which can be overridden
    with the env-var MAN_ICONV_INPUT_CHARSET
    
    BUG: 321074
    FIXED-IN: 14.12.1
    3208955e