[kio] [Bug 321074] wrong encoding of registered mark
Martin Koller
kollix at aon.at
Thu Jan 8 18:24:41 GMT 2015
https://bugs.kde.org/show_bug.cgi?id=321074
Martin Koller <kollix at aon.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Version Fixed In| |14.12.1
Latest Commit| |http://commits.kde.org/kde-
| |runtime/3208955e66c48b07281
| |271933c2be5e49328720f
Status|CONFIRMED |RESOLVED
--- Comment #4 from Martin Koller <kollix at aon.at> ---
Git commit 3208955e66c48b07281271933c2be5e49328720f by Martin Koller.
Committed on 08/01/2015 at 18:18.
Pushed by mkoller into branch 'Applications/14.12'.
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
FIXED-IN: 14.12.1
M +9 -18 kioslave/man/kio_man.cpp
M +92 -20 kioslave/man/man2html.cpp
M +6 -0 kioslave/man/man2html.h
http://commits.kde.org/kde-runtime/3208955e66c48b07281271933c2be5e49328720f
--
You are receiving this mail because:
You are the assignee for the bug.
Make the world a better place. Donate to our year end fundraiser https://www.kde.org/fundraisers/yearend2014/
More information about the Unassigned-bugs
mailing list