Hebrew characters show as ??? on screen in datatables, while same data appears normally other places
Hebrew characters show as ??? on screen in datatables, while same data appears normally other places
tarkil
Posts: 3Questions: 1Answers: 0
Hello
I have a table with the collation: utf8mb4_unicode_520_ci
it has some Hebrew text in it.
i am using datatables as jquery plugin so no server side etc there.
the data when displayed by php echo looks ok
but same data inside the tables is ????
where should i look?
sorry but i cannot give access to the page here. but i can add a screenshot:
thank you!
Answers
this is how the table is built:
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
i got it fixed by telling the database library i am using to use utf8
thanks