Error: Invalid input characters. How is it resolved?
-
Hello, I opened a thread about this problem 3 months ago. I solved this problem.
The problem was when I tried to generate some invoices I was getting an error message on a white page.
Message: Invalid input characters. Did you set $mpdf->in_charset properly?
When I looked at the Debug.log, I saw this.
/public_html/wp-content/uploads/WOO-INVOICE/mpdf-pro/vendor/mpdf/mpdf/src/Mpdf.php on line 13178
At line 13178 in mpdf.php
$success = iconv($this->charset_in, ‘UTF-8//TRANSLIT’, $html);
your code
$success = iconv($this->charset_in, ‘UTF-8//IGNORE’, $html);
It was fixed when I changed it to .
Please have this fixed in the next release version.
The topic ‘Error: Invalid input characters. How is it resolved?’ is closed to new replies.