php에서 json값을 출력할 때 아래 함수를 써서 출력해보세요~~
저도 같은 문제를 겪은적이 있어서요~~
아래를 써도 똑같이 나온다면
function my_json_encode($arr)
{
//convmap since 0x80 char codes so it takes all multibyte codes (above ASCII 127). So such characters are being "hidden" from normal json_encoding
array_walk_recursive($arr, function (&$item, $key) { if (is_string($item)) $item = mb_encode_numericentity($item,array (0x80, 0xffff, 0, 0xffff), 'UTF-8'); });
return mb_decode_numericentity(json_encode($arr), array (0x80, 0xffff, 0, 0xffff), 'UTF-8');
}
2번째방법으로 이거 써보세용~~ 이건 뭔지 아실거라 믿고 설명생략!
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>
</body></html>