Pages

about my opensource eclipse java applications recently i'm studying GWT and Android

Tuesday, February 16, 2010

Japanese Character Detector

If you would like to detect Japanese Character Encoding like SJIS or EUC-JP.
I heavy recommended you juniversalchardet
http://java.akjava.com/library/juniversalchardet

This opensource project come from some mozilla projects.

this utility is really easy to use.
my DetectUtils.java sample code will help you.

forwardingmultiset sample code

I make some forwardingmultiset sample code.
this page written in Japanese,but maybe Google site system 'll translate automatically if you click right bottom button.

http://java.akjava.com/library/google-collections/forwardingmultiset

multiset is very useful something count.
if you need more functions on that,you can use ForwardingMultiset.

I add new Functions just count,keep maxvalue and keep minvalue.