CharsetDetector
is an android library which can detect charset, based on cpdetector, supporting detect charset easily. It includes Java part, JNI part and C part.
[BTW, this project was closed several years ago.]
CharsetDetector.Codepage codepage = CharsetDetector.getInstance().detect("/sdcard/gb2312.txt");
cd
to android/charsetdetector/jnindk-build -B
mailto: chloette.e@gmail.com
Have fun~ ^_^