Re: "Unexpected end of JSON input" error
Posted: Mon Oct 31, 2016 7:28 pm
Hello, sorry for not responding to the skype petition on the email, but I finally found the issue.
The data tables I'm using feature special characters like 'ó', which cause the JSON parsing errors. Changing all the 'ó' characters to simple 'o' fixes the issue and renders the report properly.
Can I add an UTF-8 encoding command in my script to prevent this issue?
The data tables I'm using feature special characters like 'ó', which cause the JSON parsing errors. Changing all the 'ó' characters to simple 'o' fixes the issue and renders the report properly.
Can I add an UTF-8 encoding command in my script to prevent this issue?