I know that json_encode requires UTF-8 encoding , and i'm already using that , but at my quest of passing php array to javascript, i can't transfer data as it is.
I put these for test in a null template html page , between JS tags.
$arrs=array("kağıtşim","üğçöşiö");
echo 'data_labels=json_encode($arrs);';
//The result is ;
data_labels=["ka\u00c4\u009f\u00c4\u00b1t\u00c5\u009fim","\u00c3\u00bc\u00c4\u009f\u00c3\u00a7\u00c3\u00b6\u00c5\u009fi\u00c3\u00b6"];
There is nothing wrong as i know ; File is UTF-8 Without BOM charset is UTF-8 Headers set to UTF-8 Nothing to do with DB
How can i revert this json_encode conversion