{"action":"created","issue":{"url":"https://api.github.com/repos/eazar001/yesbot/issues/26","labels_url":"https://api.github.com/repos/eazar001/yesbot/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/eazar001/yesbot/issues/26/comments","events_url":"https://api.github.com/repos/eazar001/yesbot/issues/26/events","html_url":"https://github.com/eazar001/yesbot/issues/26","id":99339050,"number":26,"title":"Unicode Characters Interfering With Ability to Effectively Count Characters","user":{"login":"eazar001","id":5075707,"avatar_url":"https://avatars.githubusercontent.com/u/5075707?v=3","gravatar_id":"","url":"https://api.github.com/users/eazar001","html_url":"https://github.com/eazar001","followers_url":"https://api.github.com/users/eazar001/followers","following_url":"https://api.github.com/users/eazar001/following{/other_user}","gists_url":"https://api.github.com/users/eazar001/gists{/gist_id}","starred_url":"https://api.github.com/users/eazar001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eazar001/subscriptions","organizations_url":"https://api.github.com/users/eazar001/orgs","repos_url":"https://api.github.com/users/eazar001/repos","events_url":"https://api.github.com/users/eazar001/events{/privacy}","received_events_url":"https://api.github.com/users/eazar001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T02:19:32Z","updated_at":"2015-08-06T06:36:07Z","closed_at":null,"body":"Certain string feeds in unicode have less capacity per line than their pure ASCII counterparts. This is unfortunate, as it occasionally makes a rather salient impact on output. Address this problem, when possible."},"comment":{"url":"https://api.github.com/repos/eazar001/yesbot/issues/comments/128266235","html_url":"https://github.com/eazar001/yesbot/issues/26#issuecomment-128266235","issue_url":"https://api.github.com/repos/eazar001/yesbot/issues/26","id":128266235,"user":{"login":"Anniepoo","id":146569,"avatar_url":"https://avatars.githubusercontent.com/u/146569?v=3","gravatar_id":"","url":"https://api.github.com/users/Anniepoo","html_url":"https://github.com/Anniepoo","followers_url":"https://api.github.com/users/Anniepoo/followers","following_url":"https://api.github.com/users/Anniepoo/following{/other_user}","gists_url":"https://api.github.com/users/Anniepoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Anniepoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anniepoo/subscriptions","organizations_url":"https://api.github.com/users/Anniepoo/orgs","repos_url":"https://api.github.com/users/Anniepoo/repos","events_url":"https://api.github.com/users/Anniepoo/events{/privacy}","received_events_url":"https://api.github.com/users/Anniepoo/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T06:36:07Z","updated_at":"2015-08-06T06:36:07Z","body":"startwith an atom, use unicode_map/3 with the charbound , compose, and stripmark attributes , convert to codes, and count the 0xFF's in the output\r\n\r\nunicode_map('हिन्दी', Out, [charbound,compose,stripmark]),atom_codes(Out, Codes).\r\nOut = ÿहÿनÿद,\r\nCodes = [255, 2361, 255, 2344, 255, 2342].\r\n\r\nThis might occasionally be inaccurate as well, sometimes marks add to width, but it's closer than number of bytes by quite a bit.\r\n\r\n\r\n"}}