{"action":"created","issue":{"url":"https://api.github.com/repos/zendesk/maxwell/issues/1075","repository_url":"https://api.github.com/repos/zendesk/maxwell","labels_url":"https://api.github.com/repos/zendesk/maxwell/issues/1075/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/maxwell/issues/1075/comments","events_url":"https://api.github.com/repos/zendesk/maxwell/issues/1075/events","html_url":"https://github.com/zendesk/maxwell/issues/1075","id":352107269,"node_id":"MDU6SXNzdWUzNTIxMDcyNjk=","number":1075,"title":"Non-english column name support?","user":{"login":"d8888","id":4277159,"node_id":"MDQ6VXNlcjQyNzcxNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/4277159?v=4","gravatar_id":"","url":"https://api.github.com/users/d8888","html_url":"https://github.com/d8888","followers_url":"https://api.github.com/users/d8888/followers","following_url":"https://api.github.com/users/d8888/following{/other_user}","gists_url":"https://api.github.com/users/d8888/gists{/gist_id}","starred_url":"https://api.github.com/users/d8888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d8888/subscriptions","organizations_url":"https://api.github.com/users/d8888/orgs","repos_url":"https://api.github.com/users/d8888/repos","events_url":"https://api.github.com/users/d8888/events{/privacy}","received_events_url":"https://api.github.com/users/d8888/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-20T12:09:48Z","updated_at":"2018-08-20T18:07:35Z","closed_at":null,"author_association":"NONE","body":"When I used Maxwell Daemon to stream data from table containing Chinese column name (such as \"你好\"), I noticed that the key corresponding to column name became question marks, that is:\r\n\r\nI expect message should be:\r\n\r\n{..., \"data\": {\"你好\":\"123\"}}\r\n\r\nhowever in reality the message will looks like:\r\n\r\n{..., \"data\": {\"????\":\"123\"}}\r\n\r\nI also noticed that the \"columns\" table in \"maxwell\" database used latin_swedish_ci encoding for \"name\" column (which corresponds to column name), the \"name\" column also incorrectly stored column name as question marks (e.g stored \"????\" instead of \"你好\"). I changed encoding for \"name\" column into UTF-8 and repeated bootstraping process however the problem persisted.\r\n\r\nDoes Maxwell Daemon support non-English column name? Or is there anywhere to circumvent this problem? Thanks in advance!"},"comment":{"url":"https://api.github.com/repos/zendesk/maxwell/issues/comments/414410172","html_url":"https://github.com/zendesk/maxwell/issues/1075#issuecomment-414410172","issue_url":"https://api.github.com/repos/zendesk/maxwell/issues/1075","id":414410172,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQxMDE3Mg==","user":{"login":"osheroff","id":260084,"node_id":"MDQ6VXNlcjI2MDA4NA==","avatar_url":"https://avatars1.githubusercontent.com/u/260084?v=4","gravatar_id":"","url":"https://api.github.com/users/osheroff","html_url":"https://github.com/osheroff","followers_url":"https://api.github.com/users/osheroff/followers","following_url":"https://api.github.com/users/osheroff/following{/other_user}","gists_url":"https://api.github.com/users/osheroff/gists{/gist_id}","starred_url":"https://api.github.com/users/osheroff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osheroff/subscriptions","organizations_url":"https://api.github.com/users/osheroff/orgs","repos_url":"https://api.github.com/users/osheroff/repos","events_url":"https://api.github.com/users/osheroff/events{/privacy}","received_events_url":"https://api.github.com/users/osheroff/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T18:07:35Z","updated_at":"2018-08-20T18:07:35Z","author_association":"COLLABORATOR","body":"Interesting bug, I will have to look.  No clue why I would have picked latin-1 for column names, seems overly optimistic :)\n\n> On Aug 20, 2018, at 05:09, d8888 <notifications@github.com> wrote:\n> \n> When I used Maxwell Daemon to stream data from table containing Chinese column name (such as \"你好\"), I noticed that the key corresponding to column name became question marks, that is:\n> \n> I expect message should be:\n> \n> {..., \"data\": {\"你好\":\"123\"}}\n> \n> however in reality the message will looks like:\n> \n> {..., \"data\": {\"????\":\"123\"}}\n> \n> I also noticed that the \"columns\" table in \"maxwell\" database used latin_swedish_ci encoding for \"name\" column (which corresponds to column name), I changed encoding for \"name\" column into UTF-8 and repeated bootstraping process however the problem persisted.\n> \n> Does Maxwell Daemon support non-English column name? Or is there anywhere to circumvent this problem? Thanks in advance!\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n"}}
{"actor":{"display_login":"osheroff"}}