如何解决编码使用mb_detect_encoding正确? [英] How to detact the encoding using mb_detect_encoding correct?
本文介绍了如何解决编码使用mb_detect_encoding正确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想检测编码正确,但我发现mb_detect_encoding总是得到错误结果,我添加了很多encoding_list UTF8 ISO-8859- * ....
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-* ....
推荐答案
您尝试做的只是有时有效。编码检测不是一个确切的科学,所以你可以做的最好的事情是避免它。
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.
这篇关于如何解决编码使用mb_detect_encoding正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文