Skip to content
Advertisement

iconv – Detected an illegal character in input string

I don’t see anything illegal – any suggestions on what might be the problem?

JavaScript

Below is my debug/error

JavaScript

I’ve verified that the above code is indeed line 16

Advertisement

Answer

The illegal character is not in $matches[1], but in $xml

Try

JavaScript

And showing us the input string would be nice for a better answer.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement