#133 PHP Notice: iconv(): Detected an illegal character in input string in simple_html_dom.php on line 806

v1.0_(example)
open
nobody
None
9
2013-12-11
2013-08-08
No

Discussion

  • xaccker
    xaccker
    2013-12-11

    I also got this error. I use lib version 1.5.
    I to debug your code and found an inaccuracy in one regular expression.
    You have inaccuracy in the method "parse_charset" in this row (1231)
    $success = preg_match('/charset=(.+)/', $fullvalue, $matches);
    Add to your pattern modifier "i", because if the text has html tags in a different register, the encoding is not determined correctly.