{"action":"closed","issue":{"url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/744","labels_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/744/comments","events_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/744/events","html_url":"https://github.com/IntelOrca/OpenRCT2/issues/744","id":56573163,"number":744,"title":"Mixer expects UTF8 filenames.","user":{"login":"IntelOrca","id":1482259,"avatar_url":"https://avatars.githubusercontent.com/u/1482259?v=3","gravatar_id":"","url":"https://api.github.com/users/IntelOrca","html_url":"https://github.com/IntelOrca","followers_url":"https://api.github.com/users/IntelOrca/followers","following_url":"https://api.github.com/users/IntelOrca/following{/other_user}","gists_url":"https://api.github.com/users/IntelOrca/gists{/gist_id}","starred_url":"https://api.github.com/users/IntelOrca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntelOrca/subscriptions","organizations_url":"https://api.github.com/users/IntelOrca/orgs","repos_url":"https://api.github.com/users/IntelOrca/repos","events_url":"https://api.github.com/users/IntelOrca/events{/privacy}","received_events_url":"https://api.github.com/users/IntelOrca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IntelOrca/OpenRCT2/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-04T19:15:13Z","updated_at":"2015-02-05T17:35:04Z","closed_at":"2015-02-05T17:35:04Z","body":"The following functions expect UTF8 encoded filenames.\r\n```\r\nbool Sample::Load(const char* filename)\r\nbool Sample::LoadCSS1(const char* filename, unsigned int offset)\r\n```\r\n\r\n```Sample::Load``` is not so straight forward to change, as it is using SDL's load wave function which requires an SDL file structure. The best thing to do right now is probably convert the filename from extended ASCII to UTF8 for the functions above and use the utf8 typedef instead of char *.\r\n\r\nThis was the leading cause of #702."}}