Revision 651833
Go back to digest for 15th April 2007Bug Fixes in KDE Base
Make encoding detection engine public (KEncodingDetector) part of kdecore.
Now, together with structurized KCodecAction, it can be used in any app to provide encoding detection magic to the average user.
(this, however, mainly defines interface, and the actual heuristics is subject for the improvement)
Integrate this feature into katepart and back into khtmlpart.
Now go to katepart open/save configuration page and make you choice!
Improve detection heuristics for Cyrillic and Western European (almost 100%!) along the way
TODO: It already checks for html and xml tags, so check also for \usepackage[utf8]{inputenc}
Maybe it will take advantage of 150kb libenca someday, when its cyr detection heuristics become more sophisticated and the humans get terabytes of RAM in their brains^Whomes
Fixing anlog the way palindromic bug 55355
File Changes
- /trunk/KDE/kdelibs/kdecore/localization
- /guess_ja.cpp
- /guess_ja.h
- /kencodingdetector.cpp
- /kencodingdetector.h
- /trunk/KDE/kdelibs/khtml/misc
- /decoder.cpp
- /decoder.h
- /guess_ja.cpp
- /guess_ja.h
- /trunk/KDE/kdelibs
- /kdecore/CMakeLists.txt
- /khtml/CMakeLists.txt
- /khtml/khtml_part.cpp
- /khtml/khtml_part.h
- /khtml/khtmlpart_p.h
- /khtml/test_regression.cpp
- /khtml/testkhtmlnew.cpp
- /kate/part/katebuffer.cpp
- /kate/part/kateconfig.cpp
- /kate/part/kateconfig.h
- /kate/part/katedialogs.cpp
- /kate/part/katedialogs.h
- /kate/part/katedocument.cpp
- /kate/part/katedocument.h
- /kate/part/kateviewhelpers.cpp
- /kate/part/kateviewhelpers.h
- /kdecore/localization/kcharsets.cpp
- /kdecore/localization/kcharsets.h
- /kdeui/actions/kcodecaction.cpp
- /kdeui/actions/kcodecaction.h
- /kdeui/actions/kselectaction.cpp
- /kdeui/actions/kselectaction.h
- /khtml/ecma/kjs_debugwin.cpp
- /khtml/ecma/xmlhttprequest.cpp
- /khtml/ecma/xmlhttprequest.h
- /khtml/ecma/xmlserializer.h
- /kate/part/ui/opensaveconfigwidget.ui
- /khtml/ecma/debugger/debugwindow.cpp
- /khtml/ecma/debugger/debugwindow.h