如何使用 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-* ....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(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.