{"action":"created","issue":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/1337","repository_url":"https://api.github.com/repos/WP-API/WP-API","labels_url":"https://api.github.com/repos/WP-API/WP-API/issues/1337/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/WP-API/issues/1337/comments","events_url":"https://api.github.com/repos/WP-API/WP-API/issues/1337/events","html_url":"https://github.com/WP-API/WP-API/issues/1337","id":86551643,"number":1337,"title":"Cyrillic characters","user":{"login":"Mio11","id":1161929,"avatar_url":"https://avatars.githubusercontent.com/u/1161929?v=3","gravatar_id":"","url":"https://api.github.com/users/Mio11","html_url":"https://github.com/Mio11","followers_url":"https://api.github.com/users/Mio11/followers","following_url":"https://api.github.com/users/Mio11/following{/other_user}","gists_url":"https://api.github.com/users/Mio11/gists{/gist_id}","starred_url":"https://api.github.com/users/Mio11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mio11/subscriptions","organizations_url":"https://api.github.com/users/Mio11/orgs","repos_url":"https://api.github.com/users/Mio11/repos","events_url":"https://api.github.com/users/Mio11/events{/privacy}","received_events_url":"https://api.github.com/users/Mio11/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-09T10:45:11Z","updated_at":"2016-04-29T19:08:59Z","closed_at":"2015-06-12T02:52:12Z","body":"When I make a call to wp-json/posts on a blog with cyrillic characters (russian) I will get this respose:\r\nWould it be possible that the cyrillic characters would show up directly in the response? The file size would be less, for each chracter 3 signs less?\r\n```\r\n[{\"ID\":1,\"title\":\"\\u041f\\u0440\\u0438\\u0432\\u0435\\u0442, \\u043c\\u0438\\u0440!\",\"status\":\"publish\",\"type\":\"post\",\"author\":{\"ID\":1,\"username\":\"wlt\",\"name\":\"wlt\",\"first_name\":\"\",\"last_name\":\"\",\"nickname\":\"wlt\",\"slug\":\"wlt\",\"URL\":\"\",\"avatar\":\"http:\\/\\/2.gravatar.com\\/avatar\\/83f79ef3eb15204e048c82c4232a3ffd?s=96\",\"description\":\"\",\"registered\":\"2015-04-30T10:28:25+00:00\",\"meta\":{\"links\":{\"self\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/users\\/1\",\"archives\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/users\\/1\\/posts\"}}},\"content\":\"<p>\\u0414\\u043e\\u0431\\u0440\\u043e \\u043f\\u043e\\u0436\\u0430\\u043b\\u043e\\u0432\\u0430\\u0442\\u044c \\u0432 WordPress. \\u042d\\u0442\\u043e \\u0432\\u0430\\u0448\\u0430 \\u043f\\u0435\\u0440\\u0432\\u0430\\u044f \\u0437\\u0430\\u043f\\u0438\\u0441\\u044c. \\u041e\\u0442\\u0440\\u0435\\u0434\\u0430\\u043a\\u0442\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 \\u0438\\u043b\\u0438 \\u0443\\u0434\\u0430\\u043b\\u0438\\u0442\\u0435 \\u0435\\u0451, \\u0437\\u0430\\u0442\\u0435\\u043c \\u043f\\u0438\\u0448\\u0438\\u0442\\u0435!<\\/p>\\n\",\"parent\":null,\"link\":\"http:\\/\\/cerkovnsk.chu\\/new\\/2015\\/04\\/30\\/%d0%bf%d1%80%d0%b8%d0%b2%d0%b5%d1%82-%d0%bc%d0%b8%d1%80\\/\",\"date\":\"2015-04-30T13:28:26\",\"modified\":\"2015-04-30T13:28:26\",\"format\":\"standard\",\"slug\":\"%d0%bf%d1%80%d0%b8%d0%b2%d0%b5%d1%82-%d0%bc%d0%b8%d1%80\",\"guid\":\"http:\\/\\/cerkovnsk.chu\\/new\\/?p=1\",\"excerpt\":\"<p class=\\\"post-excerpt\\\">\\u0414\\u043e\\u0431\\u0440\\u043e \\u043f\\u043e\\u0436\\u0430\\u043b\\u043e\\u0432\\u0430\\u0442\\u044c \\u0432 WordPress. \\u042d\\u0442\\u043e \\u0432\\u0430\\u0448\\u0430 \\u043f\\u0435\\u0440\\u0432\\u0430\\u044f \\u0437\\u0430\\u043f\\u0438\\u0441\\u044c. \\u041e\\u0442\\u0440\\u0435\\u0434\\u0430\\u043a\\u0442\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 \\u0438\\u043b\\u0438 \\u0443\\u0434\\u0430\\u043b\\u0438\\u0442\\u0435 \\u0435\\u0451, \\u0437\\u0430\\u0442\\u0435\\u043c \\u043f\\u0438\\u0448\\u0438\\u0442\\u0435!<\\/p>\\n\",\"menu_order\":0,\"comment_status\":\"open\",\"ping_status\":\"open\",\"sticky\":false,\"date_tz\":\"Etc\\/GMT+3\",\"date_gmt\":\"2015-04-30T10:28:26\",\"modified_tz\":\"Etc\\/GMT+3\",\"modified_gmt\":\"2015-04-30T10:28:26\",\"meta\":{\"links\":{\"self\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/posts\\/1\",\"author\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/users\\/1\",\"collection\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/posts\",\"replies\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/posts\\/1\\/comments\",\"version-history\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/posts\\/1\\/revisions\"}},\"featured_image\":null,\"terms\":{\"category\":[{\"ID\":1,\"name\":\"\\u0411\\u0435\\u0437 \\u0440\\u0443\\u0431\\u0440\\u0438\\u043a\\u0438\",\"slug\":\"%d0%b1%d0%b5%d0%b7-%d1%80%d1%83%d0%b1%d1%80%d0%b8%d0%ba%d0%b8\",\"description\":\"\",\"taxonomy\":\"category\",\"parent\":null,\"count\":1,\"link\":\"http:\\/\\/cerkovnsk.chu\\/new\\/category\\/%d0%b1%d0%b5%d0%b7-%d1%80%d1%83%d0%b1%d1%80%d0%b8%d0%ba%d0%b8\\/\",\"meta\":{\"links\":{\"collection\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/taxonomies\\/category\\/terms\",\"self\":\"http:\\/\\/cerkovnsk.chu\\/new\\/wp-json\\/taxonomies\\/category\\/terms\\/1\"}}}]}}]\r\n```"},"comment":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/comments/215851156","html_url":"https://github.com/WP-API/WP-API/issues/1337#issuecomment-215851156","issue_url":"https://api.github.com/repos/WP-API/WP-API/issues/1337","id":215851156,"user":{"login":"stioann","id":1763399,"avatar_url":"https://avatars.githubusercontent.com/u/1763399?v=3","gravatar_id":"","url":"https://api.github.com/users/stioann","html_url":"https://github.com/stioann","followers_url":"https://api.github.com/users/stioann/followers","following_url":"https://api.github.com/users/stioann/following{/other_user}","gists_url":"https://api.github.com/users/stioann/gists{/gist_id}","starred_url":"https://api.github.com/users/stioann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stioann/subscriptions","organizations_url":"https://api.github.com/users/stioann/orgs","repos_url":"https://api.github.com/users/stioann/repos","events_url":"https://api.github.com/users/stioann/events{/privacy}","received_events_url":"https://api.github.com/users/stioann/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T19:08:59Z","updated_at":"2016-04-29T19:08:59Z","body":"Update.\r\n\r\nWhat is about Cyrillic characters in rest api answer? Still get -- `\"name\":\"\\u0410\\u0433\\u0435\\u043d\\u0442\\u044b\",\"slug\":\"agents\"`. That ugly UTF encode. Is there any hack way to resolve this problem?\r\n\r\nP.S. What about this kind of solution: `preg_replace_callback('/\\\\\\u([01-9a-fA-F]{4})/', 'prepareUTF8', json_encode($array)) ? `"}}