Error occur in data when using Ajax in Datatable
Error occur in data when using Ajax in Datatable
![tengkusyafiz98](https://secure.gravatar.com/avatar/ac861df7a93a55ed98b248c13cbc103d/?default=https%3A%2F%2Fvanillicon.com%2Fac861df7a93a55ed98b248c13cbc103d_200.png&rating=g&size=120)
I want to share my problem that already fix that might help you guys in the future. In may case everything is okay but somehow data in php cannot be json_encode. What I found is have difference dash in data. If you remove dash and add a new dash will fix.
Replies
Sounds like a UTF-8 encoding issue, rather than anything DataTables specific. Good to hear you've got it working for your use case though.
Allan