字符串的编码检测

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

 

posted @ 2021-06-22 10:55  日月王  阅读(110)  评论(0编辑  收藏  举报