字符串的编码检测

python有chardet,java有cpdetector,C或者C++搜索了好久,找到了uchardet

其实python的chardet与uchardet都是源自于Firefox中的universalchardet

http://lxr.mozilla.org/seamonkey/source/extensions/universalchardet/

uchardet的地址:

https://github.com/BYVoid/uchardet

原文地址:https://www.cnblogs.com/eaglexmw/p/14917574.html