How to detact the encoding using mb_detect_encoding correct?

99封情书 提交于 2019-12-22 18:49:15

问题


I want to detect encoding correct, but i found mb_detect_encoding always get error result, And I added lots of encoding_list UTF8 ISO-8859-* ....


回答1:


You are trying to do something that only sometimes works. Encoding detection is not a exact "science" so the best thing you can do is to avoid it.



来源:https://stackoverflow.com/questions/1846201/how-to-detact-the-encoding-using-mb-detect-encoding-correct

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!