Josn_encode PHP API. Проблема кодирования
mb_convert_encoding($data['name'], 'UTF-8', 'UTF-8');
Strange Shrew
mb_convert_encoding($data['name'], 'UTF-8', 'UTF-8');