AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

universalchardet/Japanese encoding detect plugin

 
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
shoshinsha



Joined: 05 Jul 2011
Posts: 17

PostPosted: Thu Jul 07, 2011 6:26 am    Post subject: universalchardet/Japanese encoding detect plugin Reply with quote

Detect encoding of text file using Mozilla universalchardet
link:
Code:

http://mxr.mozilla.org/seamonkey/source/extensions/universalchardet/
http://www-archive.mozilla.org/projects/intl/UniversalCharsetDetection.html


plus: Japanese encoding detect (shift_jis/jis/euc-jp/utf-Cool

function (menucontext)
Quote:

SEPARATOR
"Encoding Detect"
{
"ISO2022/Japanese" Call("EncodingDetect::NonUniEncoding")
"nsUniversalDetector"
{
"Japanese" Call("EncodingDetect::UniJaEncodingDetect")
"Chinese simplified" Call("EncodingDetect::UniChineseSimEncodingDetect")
"Chinese traditional" Call("EncodingDetect::UniChineseTRAEncodingDetect")
"Chinese" Call("EncodingDetect::UniChineseEncodingDetect")
"Korean" Call("EncodingDetect::UniKoreaEncodingDetect")
"CJK" Call("EncodingDetect::UniCJKEncodingDetect")
"NonCJK" Call("EncodingDetect::UniNonCJKEncodingDetect")
"Auto" Call("EncodingDetect::UniEncodingDetect")
}
"Auto Load" +Call("EncodingDetect::Main")
"Setting" Call("EncodingDetect::Settings")
}


download
For Akelpad 4.8 (Update latest universalchardet) (2013/04/19)
Code:

http://www.mediafire.com/?ad7qe55njnebcd5


For Akelpad 4.7.6
Code:

http://www.mediafire.com/?497hh64bi2ezbxw


For akelpad 4.7
Code:
http://www.mediafire.com/?vw3vrcrq3n9ycwt

for akelpad 4.6
Code:
http://www.mediafire.com/?cql869w253j1smd


update:
-add Unicode detect (from akelpad source Shocked )

Update 2011/08/04
-Update to latest universalchardet (firefox 5.0.1)
-Update akelpad files to latest version.
-Update get codepage from charset function

Update 2011/10/7
-add settings
-add auto detect when open file


Last edited by shoshinsha on Thu Apr 18, 2013 3:11 pm; edited 7 times in total
Back to top
View user's profile Send private message
DV



Joined: 16 Nov 2006
Posts: 851
Location: Kyiv, Ukraine

PostPosted: Thu Jul 07, 2011 10:11 am    Post subject: Re: universalchardet/Japanese encoding detect plugin Reply with quote

Very interesting, but it detects UTF-16 LE as UTF-16 BE and therefore shows funny symbols Shocked
Back to top
View user's profile Send private message
shoshinsha



Joined: 05 Jul 2011
Posts: 17

PostPosted: Thu Jul 07, 2011 12:52 pm    Post subject: Re: universalchardet/Japanese encoding detect plugin Reply with quote

DV wrote:
Very interesting, but it detects UTF-16 LE as UTF-16 BE and therefore shows funny symbols Shocked


now, using akelpad unicode detect function to detect utf-x encoding Laughing
Back to top
View user's profile Send private message
shoshinsha



Joined: 05 Jul 2011
Posts: 17

PostPosted: Thu Aug 04, 2011 6:47 am    Post subject: Reply with quote

updated!
Back to top
View user's profile Send private message
shoshinsha



Joined: 05 Jul 2011
Posts: 17

PostPosted: Fri Nov 18, 2011 4:17 am    Post subject: Reply with quote

update for akelpad 4.7
Back to top
View user's profile Send private message
shoshinsha



Joined: 05 Jul 2011
Posts: 17

PostPosted: Fri Jun 22, 2012 12:19 am    Post subject: Reply with quote

Updated!
Back to top
View user's profile Send private message
San_dr



Joined: 06 Dec 2010
Posts: 159
Location: .,

PostPosted: Sat Jan 19, 2013 8:41 pm    Post subject: Reply with quote

shoshinsha, how about updating the plugin? Thank you
Back to top
View user's profile Send private message
shoshinsha



Joined: 05 Jul 2011
Posts: 17

PostPosted: Thu Apr 18, 2013 3:12 pm    Post subject: Reply with quote

Updated!
Back to top
View user's profile Send private message
mohsinj677



Joined: 18 Dec 2013
Posts: 1

PostPosted: Wed Dec 18, 2013 5:37 am    Post subject: Mohsin Reply with quote

Can you also give an example about how to surround a selection of text with <p>...</p> etc, and how to link this function to a toolbar button or hotkey?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group