{"action":"closed","issue":{"number":6,"created_at":"2011-10-07T10:38:23Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Some of the Unicode code points will be larger than 0xFFFF which String.fromCharCode can't handle. The array must first be traversed and characters larger than 0xFFFF need to be broken up into 2 elements with this formula: \r\n\r\n```javascript\r\nvar hi, lo;\r\nhi = Math.floor((ch - 0x10000) / 0x400) + 0xD800;\r\nlo = ((ch - 0x10000) % 0x400) + 0xDC00;\r\n```","comments":0,"title":"Tokenizer.prototype.codes_to_string needs to do UTF-16 encoding","updated_at":"2011-10-07T18:24:43Z","url":"https://api.github.com/repos/oftn/coca/issues/6","id":1842105,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/600ad48eea92da6bdab1e6d2b51bf819?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/devyn","id":10729,"login":"devyn"},"milestone":{"number":1,"created_at":"2011-10-07T06:51:43Z","due_on":"2011-10-17T07:00:00Z","title":"Tokenizing","creator":{"avatar_url":"https://secure.gravatar.com/avatar/046ed2021abbff1d4d7812ad44dbb4af?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/eboyjr","id":110829,"login":"eboyjr"},"url":"https://api.github.com/repos/oftn/coca/milestones/1","open_issues":1,"closed_issues":4,"description":"","state":"open"},"closed_at":"2011-10-07T18:24:43Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/046ed2021abbff1d4d7812ad44dbb4af?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/eboyjr","id":110829,"login":"eboyjr"},"html_url":"https://github.com/oftn/coca/issues/6","labels":[{"name":"Tokenizer","url":"https://api.github.com/repos/oftn/coca/labels/Tokenizer","color":"02d7e1"}],"state":"closed"},"legacy":{"number":6,"action":"closed","issue":1842105}}