{"action":"created","issue":{"url":"https://api.github.com/repos/janestreet/sexplib/issues/11","repository_url":"https://api.github.com/repos/janestreet/sexplib","labels_url":"https://api.github.com/repos/janestreet/sexplib/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/janestreet/sexplib/issues/11/comments","events_url":"https://api.github.com/repos/janestreet/sexplib/issues/11/events","html_url":"https://github.com/janestreet/sexplib/issues/11","id":41042024,"number":11,"title":"Invalid quoting of UTF-8 character ","user":{"login":"m2ym","id":52525,"avatar_url":"https://avatars.githubusercontent.com/u/52525?v=3","gravatar_id":"","url":"https://api.github.com/users/m2ym","html_url":"https://github.com/m2ym","followers_url":"https://api.github.com/users/m2ym/followers","following_url":"https://api.github.com/users/m2ym/following{/other_user}","gists_url":"https://api.github.com/users/m2ym/gists{/gist_id}","starred_url":"https://api.github.com/users/m2ym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m2ym/subscriptions","organizations_url":"https://api.github.com/users/m2ym/orgs","repos_url":"https://api.github.com/users/m2ym/repos","events_url":"https://api.github.com/users/m2ym/events{/privacy}","received_events_url":"https://api.github.com/users/m2ym/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2014-08-25T08:26:26Z","updated_at":"2016-07-26T18:39:17Z","closed_at":null,"body":"If an atom contains UTF-8 character and a whitespace, then the output will be corrupted.\r\n\r\nHere is example.\r\n\r\n```OCaml\r\nopen Core_kernel.Std\r\n\r\nlet () =\r\n  Format.printf \"%a@.\" Sexp.pp_mach (Sexp.of_string \"(String\\\"\\\\233\\\\171\\\\152\\\")\");\r\n  Format.printf \"%a@.\" Sexp.pp_mach (Sexp.of_string \"(String\\\"\\\\233\\\\171\\\\152 Hello\\\")\")\r\n```\r\n\r\nUTF-8 character `#E9AB98` is `高`, so the expected output is\r\n\r\n```\r\n(String 高)\r\n(String \"高 Hello\")\r\n```\r\n\r\nbut the actual output is\r\n\r\n```\r\n(String 高)\r\n(String\"152 Hello\")\r\n```\r\n\r\nThe second line is obviously wrong.\r\n"},"comment":{"url":"https://api.github.com/repos/janestreet/sexplib/issues/comments/235364342","html_url":"https://github.com/janestreet/sexplib/issues/11#issuecomment-235364342","issue_url":"https://api.github.com/repos/janestreet/sexplib/issues/11","id":235364342,"user":{"login":"ejgallego","id":7192257,"avatar_url":"https://avatars.githubusercontent.com/u/7192257?v=3","gravatar_id":"","url":"https://api.github.com/users/ejgallego","html_url":"https://github.com/ejgallego","followers_url":"https://api.github.com/users/ejgallego/followers","following_url":"https://api.github.com/users/ejgallego/following{/other_user}","gists_url":"https://api.github.com/users/ejgallego/gists{/gist_id}","starred_url":"https://api.github.com/users/ejgallego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejgallego/subscriptions","organizations_url":"https://api.github.com/users/ejgallego/orgs","repos_url":"https://api.github.com/users/ejgallego/repos","events_url":"https://api.github.com/users/ejgallego/events{/privacy}","received_events_url":"https://api.github.com/users/ejgallego/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T18:39:17Z","updated_at":"2016-07-26T18:39:17Z","body":"This seems to be fixed, (see #18 ) ?"}}
{"actor":{"display_login":"ejgallego"}}