{"action":"created","issue":{"url":"https://api.github.com/repos/grimfang4/SDL_FontCache/issues/12","repository_url":"https://api.github.com/repos/grimfang4/SDL_FontCache","labels_url":"https://api.github.com/repos/grimfang4/SDL_FontCache/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/grimfang4/SDL_FontCache/issues/12/comments","events_url":"https://api.github.com/repos/grimfang4/SDL_FontCache/issues/12/events","html_url":"https://github.com/grimfang4/SDL_FontCache/issues/12","id":157933170,"number":12,"title":"Non-ascii characters do not display when using DrawBox functions","user":{"login":"switchie","id":9511296,"avatar_url":"https://avatars.githubusercontent.com/u/9511296?v=3","gravatar_id":"","url":"https://api.github.com/users/switchie","html_url":"https://github.com/switchie","followers_url":"https://api.github.com/users/switchie/followers","following_url":"https://api.github.com/users/switchie/following{/other_user}","gists_url":"https://api.github.com/users/switchie/gists{/gist_id}","starred_url":"https://api.github.com/users/switchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/switchie/subscriptions","organizations_url":"https://api.github.com/users/switchie/orgs","repos_url":"https://api.github.com/users/switchie/repos","events_url":"https://api.github.com/users/switchie/events{/privacy}","received_events_url":"https://api.github.com/users/switchie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-01T15:14:34Z","updated_at":"2016-06-13T13:24:31Z","closed_at":null,"body":"It seems that when you use any of the DrawBox functions only ascii characters will be drawn. \r\n\r\nExample:\r\n\r\n// this will correctly display as \"abcåäöabc\"\r\nFC_Draw(m_font, renderer, 10, 10, \"abcåäöabc\");\r\n\r\n// this will display as \"abc   abc\", and the swedish letters have been replaced with spaces\r\nFC_DrawBox(m_font, renderer, m_rect, \"abcåäöabc\");\r\n\r\nDo you have any idea why this is happening?"},"comment":{"url":"https://api.github.com/repos/grimfang4/SDL_FontCache/issues/comments/225579280","html_url":"https://github.com/grimfang4/SDL_FontCache/issues/12#issuecomment-225579280","issue_url":"https://api.github.com/repos/grimfang4/SDL_FontCache/issues/12","id":225579280,"user":{"login":"grimfang4","id":4241202,"avatar_url":"https://avatars.githubusercontent.com/u/4241202?v=3","gravatar_id":"","url":"https://api.github.com/users/grimfang4","html_url":"https://github.com/grimfang4","followers_url":"https://api.github.com/users/grimfang4/followers","following_url":"https://api.github.com/users/grimfang4/following{/other_user}","gists_url":"https://api.github.com/users/grimfang4/gists{/gist_id}","starred_url":"https://api.github.com/users/grimfang4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimfang4/subscriptions","organizations_url":"https://api.github.com/users/grimfang4/orgs","repos_url":"https://api.github.com/users/grimfang4/repos","events_url":"https://api.github.com/users/grimfang4/events{/privacy}","received_events_url":"https://api.github.com/users/grimfang4/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T13:24:31Z","updated_at":"2016-06-13T13:24:31Z","body":"Great!  I've been able to reproduce the problem by switching to that font.  From first glance, there in nothing wrong with the encoding in the font file, and it seems like the logic diverges on the choice of codepoint."}}
{"actor":{"display_login":"grimfang4"}}