{"action":"created","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/985","repository_url":"https://api.github.com/repos/ocornut/imgui","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/985/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/985/events","html_url":"https://github.com/ocornut/imgui/issues/985","id":201642590,"number":985,"title":"How to enable non-latin character input?","user":{"login":"Paalon","id":11065457,"avatar_url":"https://avatars.githubusercontent.com/u/11065457?v=3","gravatar_id":"","url":"https://api.github.com/users/Paalon","html_url":"https://github.com/Paalon","followers_url":"https://api.github.com/users/Paalon/followers","following_url":"https://api.github.com/users/Paalon/following{/other_user}","gists_url":"https://api.github.com/users/Paalon/gists{/gist_id}","starred_url":"https://api.github.com/users/Paalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paalon/subscriptions","organizations_url":"https://api.github.com/users/Paalon/orgs","repos_url":"https://api.github.com/users/Paalon/repos","events_url":"https://api.github.com/users/Paalon/events{/privacy}","received_events_url":"https://api.github.com/users/Paalon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-18T17:39:02Z","updated_at":"2017-01-19T08:57:41Z","closed_at":null,"body":"Hello.\r\nI am using SFML and imgui-SFML binding (https://github.com/eliasdaler/imgui-sfml).\r\nThat's a nice software, thanks.\r\nBut I have struggled to input non-latin (Japanese) character.\r\nI have succeeded to show Japanese in ImGui:\r\n![2017-01-19 2 22 03](https://cloud.githubusercontent.com/assets/11065457/22075146/27d05486-ddee-11e6-9ac1-3a2f9bd7532f.png)\r\nby the code:\r\n`\r\n// load font\r\nImGuiIO& io = ImGui::GetIO();\r\nio.Fonts->AddFontFromFileTTF(\"./font/mplus-1p-regular.ttf\", 18.0f, NULL, io.Fonts->GetGlyphRangesJapanese());\r\n`\r\nHow to enable non-latin character input?"},"comment":{"url":"https://api.github.com/repos/ocornut/imgui/issues/comments/273716462","html_url":"https://github.com/ocornut/imgui/issues/985#issuecomment-273716462","issue_url":"https://api.github.com/repos/ocornut/imgui/issues/985","id":273716462,"user":{"login":"Paalon","id":11065457,"avatar_url":"https://avatars.githubusercontent.com/u/11065457?v=3","gravatar_id":"","url":"https://api.github.com/users/Paalon","html_url":"https://github.com/Paalon","followers_url":"https://api.github.com/users/Paalon/followers","following_url":"https://api.github.com/users/Paalon/following{/other_user}","gists_url":"https://api.github.com/users/Paalon/gists{/gist_id}","starred_url":"https://api.github.com/users/Paalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paalon/subscriptions","organizations_url":"https://api.github.com/users/Paalon/orgs","repos_url":"https://api.github.com/users/Paalon/repos","events_url":"https://api.github.com/users/Paalon/events{/privacy}","received_events_url":"https://api.github.com/users/Paalon/received_events","type":"User","site_admin":false},"created_at":"2017-01-19T08:57:41Z","updated_at":"2017-01-19T08:57:41Z","body":"SFML does not seem support IME right now. So it is difficult to use IME in imgui-SFML. I need to use other rendering wrapper (SDL, glfw) or write code myself. That's my conclusion as far as I searched."}}
{"actor":{"display_login":"Paalon"}}