https://bugs.kde.org/show_bug.cgi?id=321074
Martin Koller <kol...@aon.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Latest Commit|http://commits.kde.org/kde- |https://commits.kde.org/kio |runtime/3208955e66c48b07281 |-extras/1c45ddbe94c3fdfedf3 |271933c2be5e49328720f |5f801ddfeeab6d17f2cc4 Status|CONFIRMED |RESOLVED --- Comment #8 from Martin Koller <kol...@aon.at> --- Git commit 1c45ddbe94c3fdfedf35f801ddfeeab6d17f2cc4 by Martin Koller. Committed on 24/08/2018 at 15:19. Pushed by mkoller into branch 'master'. Fwd port: Do not use KEncodingProber - it gives false results forward port of 3208955e66c48b07281271933c2be5e49328720f from old kde-runtime repo Original commit text: Do not use KEncodingProber - it gives false results; Try dirname or UTF8 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 M +9 -18 man/kio_man.cpp M +89 -25 man/man2html.cpp M +6 -0 man/man2html.h M +1 -1 man/tests/CMakeLists.txt https://commits.kde.org/kio-extras/1c45ddbe94c3fdfedf35f801ddfeeab6d17f2cc4 -- You are receiving this mail because: You are watching all bug changes.