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-* ....
A:
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.
Sorin Sbarnea
2010-01-04 17:22:00