From kwrite-devel Mon May 23 12:55:26 2005 From: Takumi ASAKI Date: Mon, 23 May 2005 12:55:26 +0000 To: kwrite-devel Subject: [PATCH] improvement KDE's auto-detection text encode feature. Message-Id: <200505232155.26375.takumi () asaki ! jp> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=111685418730903 Hi, all. I create some patches to improve KDE's auto-detection text encode. Please review and comment it. For detail, please see http://www.kde.gr.jp/~asaki/libkencoding/ * Why make it? Auto-detection text's encode is very useful feature for users. khtml has it in 'kdelibs/khtml/misc/decoder.*'. But Kate (and other KDE applications) doesn't have it. So, when I try to view html source using Kate-part, I need to select encode from menu. Then I want to make Kate to detect encode automatically. Copy from khtml's detection feature to Kate is not hard. But there are duplicate codes. So I make independent library from khtml's detection feature, and change Kate and khtml to use it. * TODO This is experimental implement. Need more improvement API and functions and maybe class names. And I test this for Japanese only. I can't care other languages. * Patches Patches for KDE_3_4_BRANCH. ***** CAUTION: These patches are BIC patches. Please take care. ***** http://www.kde.gr.jp/~asaki/libkencoding/kdelibs-libkencoding-20050522.diff http://www.kde.gr.jp/~asaki/libkencoding/kdelibs-libkencoding-khtml-20050522.diff http://www.kde.gr.jp/~asaki/libkencoding/kdelibs-libkencoding-interfaces-ktexteditor-20050522.diff http://www.kde.gr.jp/~asaki/libkencoding/kdelibs-libkencoding-kate-20050522.diff http://www.kde.gr.jp/~asaki/libkencoding/kdebase-libkencoding-kate-20050522.diff -- Che Che - Bye Bye From: Takumi ASAKI URL: http://asaki.jp/ _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel