UTF-8 problem with datatables Server-side script
UTF-8 problem with datatables Server-side script
Hello,
i am very happy with the datatables tool!!! It saves me ton of hard work and the result is great!
But now i have a problem with the encoding of one table!
In my application i use 2 tables, 1 with hard coded query that pull data from the server and 1 table with the server-side script because it has 100.000+ rows.
The problem with the server-side script is that the results shows ??????????????? text text text ????!
The table in mysql is in utf8_general_ci and the index.php file that uses the datatables script also has the utf-8 meta tag.
Evrything in the index.php is in greek and working like a charm, except the datatable that brings the ?????
I have tryied and search hard and i have made lot of test without a result.
The server side script that i use is like this one http://www.datatables.net/examples/data_sources/server_side.html in the server side TAB.
Any solution would be great!!!
Thank you in advance!
EDIT #1 i just found the debugger tool so i give you the link http://debug.datatables.net/efozef
Answers
anyone please??
There are plenty of UTF-8 posts if you do a forum search. For example:
http://datatables.net/forums/discussion/9455/utf8-data-from-mysql-solved
Hello tangerine,
i have already found that answer but its reffering into the legacy server side script, not in the latest one, that i am using!
Thats why i don't know how to implement it!
could you suggest me the way?
thank you!
up up!