Fwd: [PATCH] improvement KDE's auto-detection text encode feature.

David Faure faure at kde.org
Mon May 23 14:23:20 BST 2005


----------  Forwarded Message  ----------

Subject: [PATCH] improvement KDE's auto-detection text encode feature.
Date: Monday 23 May 2005 14:55
From: Takumi ASAKI <takumi at asaki.jp>
To: kde-devel at mail.kde.org, kwrite-devel at kde.org

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 <takumi at asaki.jp>
	URL: http://asaki.jp/
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<



-------------------------------------------------------

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list