{"action":"created","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4103","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4103/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4103/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4103/events","html_url":"https://github.com/openframeworks/openFrameworks/issues/4103","id":96053711,"number":4103,"title":"Unicode support for MinGW","user":{"login":"procedural","id":1072168,"avatar_url":"https://avatars.githubusercontent.com/u/1072168?v=3","gravatar_id":"","url":"https://api.github.com/users/procedural","html_url":"https://github.com/procedural","followers_url":"https://api.github.com/users/procedural/followers","following_url":"https://api.github.com/users/procedural/following{/other_user}","gists_url":"https://api.github.com/users/procedural/gists{/gist_id}","starred_url":"https://api.github.com/users/procedural/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/procedural/subscriptions","organizations_url":"https://api.github.com/users/procedural/orgs","repos_url":"https://api.github.com/users/procedural/repos","events_url":"https://api.github.com/users/procedural/events{/privacy}","received_events_url":"https://api.github.com/users/procedural/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/codeblocks%20","name":"codeblocks ","color":"cb6efa"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/core","name":"core","color":"db6a1f"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/feature","name":"feature","color":"622425"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/section-typography","name":"section-typography","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-20T12:30:02Z","updated_at":"2015-07-28T17:02:40Z","closed_at":null,"body":"[Commenting on this comment in code](https://github.com/openframeworks/openFrameworks/blob/ec83be4/libs/openFrameworks/utils/ofSystemUtils.cpp#L633):\r\n\r\nIt's true that MinGW uses `char` by default, but if unicode flags are defined it switches to `wchar` and wide strings as MSVC, thus there's no need for separate code logic for these two compilers.\r\n\r\nHere's a patch that makes MinGW compile openFrameworks with unicode characters:\r\n\r\nhttps://github.com/ofnode/of/blob/4798f6c/dev/patches/openframeworks_mingw_unicode.patch\r\n\r\nIt's not a pull request because in order to make these changes work you should define `UNICODE` and `_UNICODE` flags in Code::Blocks projects and I don't know how to do that.\r\n\r\nPinging @ofTheo I suppose :)"},"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/comments/125679771","html_url":"https://github.com/openframeworks/openFrameworks/issues/4103#issuecomment-125679771","issue_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4103","id":125679771,"user":{"login":"arturoc","id":48240,"avatar_url":"https://avatars.githubusercontent.com/u/48240?v=3","gravatar_id":"","url":"https://api.github.com/users/arturoc","html_url":"https://github.com/arturoc","followers_url":"https://api.github.com/users/arturoc/followers","following_url":"https://api.github.com/users/arturoc/following{/other_user}","gists_url":"https://api.github.com/users/arturoc/gists{/gist_id}","starred_url":"https://api.github.com/users/arturoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturoc/subscriptions","organizations_url":"https://api.github.com/users/arturoc/orgs","repos_url":"https://api.github.com/users/arturoc/repos","events_url":"https://api.github.com/users/arturoc/events{/privacy}","received_events_url":"https://api.github.com/users/arturoc/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T17:02:40Z","updated_at":"2015-07-28T17:02:40Z","body":"yes that looks correct"}}