( ! ) Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13) in /home/prototurk.com/public_html/app/init.php on line 4
Call Stack
#TimeMemoryFunctionLocation
10.0002365288{main}( ).../index.php:0
20.0008369104require( '/home/prototurk.com/public_html/app/init.php' ).../index.php:9
30.0008385616session_start ( ).../init.php:4
php json türkçe karakter sorunu - PROTOTURK
v2.5.2
Giriş yap

php json türkçe karakter sorunu

uzunkolluinsanlar
541 defa görüntülendi
header('Content-Type: application/json; charset=utf-8');
$changejson = getArray();
echo json_encode($changejson,JSON_UNESCAPED_UNICODE);

Çıktı

    Dönem
Cevap yaz
Cevaplar (2)
uzunkolluinsanlar
962 gün önce
header('Content-Type: application/json; charset=utf-8');
changejson = getArray();
$json = json_encode(changejson,JSON_UNESCAPED_UNICODE);;
echo html_entity_decode($json);

bu şekilde çözdüm

smack
961 gün önce

fonsiyondan donen değerlerin karakter kodlaması Unicode destegi var mı