{"action":"created","issue":{"url":"https://api.github.com/repos/haskellcn/TEST/issues/16","repository_url":"https://api.github.com/repos/haskellcn/TEST","labels_url":"https://api.github.com/repos/haskellcn/TEST/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/haskellcn/TEST/issues/16/comments","events_url":"https://api.github.com/repos/haskellcn/TEST/issues/16/events","html_url":"https://github.com/haskellcn/TEST/issues/16","id":318827017,"number":16,"title":"一个locale导致的c2hs bug by tangboyun","user":{"login":"freizl","id":437427,"avatar_url":"https://avatars1.githubusercontent.com/u/437427?v=4","gravatar_id":"","url":"https://api.github.com/users/freizl","html_url":"https://github.com/freizl","followers_url":"https://api.github.com/users/freizl/followers","following_url":"https://api.github.com/users/freizl/following{/other_user}","gists_url":"https://api.github.com/users/freizl/gists{/gist_id}","starred_url":"https://api.github.com/users/freizl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freizl/subscriptions","organizations_url":"https://api.github.com/users/freizl/orgs","repos_url":"https://api.github.com/users/freizl/repos","events_url":"https://api.github.com/users/freizl/events{/privacy}","received_events_url":"https://api.github.com/users/freizl/received_events","type":"User","site_admin":false},"labels":[{"id":918167782,"url":"https://api.github.com/repos/haskellcn/TEST/labels/migration","name":"migration","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-30T09:11:10Z","updated_at":"2018-04-30T09:11:11Z","closed_at":null,"author_association":"NONE","body":"错误提示类似下面：\r\n\r\n    gtk2hsC2hs: Error in C header file.\r\n    /usr/include/glib-2.0/glib-object.h:1: (column 0) [FATAL] \r\n    >>> Lexical error!\r\n    The character '#' does not fit here.\r\n\r\n貌似是locale问题导致的。zh_CN.UTF-8就会导致这个问题。改成en_US.UTF-8就能通过。\r\n\r\n貌似09年就有人提过这个中文导致的bug。不过现在装gtk，cairo相关包，还是会出错，只能用\r\n\r\n    LANG=en_US.UTF-8 cabal install\r\n\r\n来装。"},"comment":{"url":"https://api.github.com/repos/haskellcn/TEST/issues/comments/385346714","html_url":"https://github.com/haskellcn/TEST/issues/16#issuecomment-385346714","issue_url":"https://api.github.com/repos/haskellcn/TEST/issues/16","id":385346714,"user":{"login":"freizl","id":437427,"avatar_url":"https://avatars1.githubusercontent.com/u/437427?v=4","gravatar_id":"","url":"https://api.github.com/users/freizl","html_url":"https://github.com/freizl","followers_url":"https://api.github.com/users/freizl/followers","following_url":"https://api.github.com/users/freizl/following{/other_user}","gists_url":"https://api.github.com/users/freizl/gists{/gist_id}","starred_url":"https://api.github.com/users/freizl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freizl/subscriptions","organizations_url":"https://api.github.com/users/freizl/orgs","repos_url":"https://api.github.com/users/freizl/repos","events_url":"https://api.github.com/users/freizl/events{/privacy}","received_events_url":"https://api.github.com/users/freizl/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T09:11:11Z","updated_at":"2018-04-30T09:11:11Z","author_association":"NONE","body":"印象中装Leksah时也依赖这个东西呢～"}}
{"actor":{"display_login":"freizl"}}