{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jcodings/issues/13","labels_url":"https://api.github.com/repos/jruby/jcodings/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jcodings/issues/13/comments","events_url":"https://api.github.com/repos/jruby/jcodings/issues/13/events","html_url":"https://github.com/jruby/jcodings/issues/13","id":124623587,"number":13,"title":"Mongolian vowel separator needs to be removed from CR_Bank range","user":{"login":"chrisseaton","id":341094,"avatar_url":"https://avatars.githubusercontent.com/u/341094?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisseaton","html_url":"https://github.com/chrisseaton","followers_url":"https://api.github.com/users/chrisseaton/followers","following_url":"https://api.github.com/users/chrisseaton/following{/other_user}","gists_url":"https://api.github.com/users/chrisseaton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseaton/subscriptions","organizations_url":"https://api.github.com/users/chrisseaton/orgs","repos_url":"https://api.github.com/users/chrisseaton/repos","events_url":"https://api.github.com/users/chrisseaton/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseaton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-03T02:11:53Z","updated_at":"2016-01-03T17:43:46Z","closed_at":null,"body":"The JCodings `CR_Blank.bin` still has the `0x180e-0x180e` range in it, which needs to be removed to match Ruby 2.2 (https://github.com/ruby/ruby/blob/004bb16ccc01608849c8d200aed990b6d6e2b98e/enc/unicode/name2ctype.h#L668-L678).\r\n\r\nRubySpec is here https://github.com/ruby/rubyspec/commit/6076e90a540157a609d7f356290cbd7ce0c740e4.\r\n\r\nJRuby currently fails this spec.\r\n\r\nI looked at the `CR_Blank.bin` file and I think I just need to remove the range bytes and decrement the count from 9 to 8, but I'm not sure what the leading `0000 0013` in the file means. What should I do with that?\r\n\r\nI'm also unsure how to test this in JRuby. JCodings is a dependency of a dependency isn't it? How can I get JRuby to use a local snapshot of JCodings with this change?"},"comment":{"url":"https://api.github.com/repos/jruby/jcodings/issues/comments/168522229","html_url":"https://github.com/jruby/jcodings/issues/13#issuecomment-168522229","issue_url":"https://api.github.com/repos/jruby/jcodings/issues/13","id":168522229,"user":{"login":"chrisseaton","id":341094,"avatar_url":"https://avatars.githubusercontent.com/u/341094?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisseaton","html_url":"https://github.com/chrisseaton","followers_url":"https://api.github.com/users/chrisseaton/followers","following_url":"https://api.github.com/users/chrisseaton/following{/other_user}","gists_url":"https://api.github.com/users/chrisseaton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseaton/subscriptions","organizations_url":"https://api.github.com/users/chrisseaton/orgs","repos_url":"https://api.github.com/users/chrisseaton/repos","events_url":"https://api.github.com/users/chrisseaton/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseaton/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T17:43:46Z","updated_at":"2016-01-03T17:43:46Z","body":"The problem is that when MRI updated to Unicode 7.0 they updated the generated header file `name2ctype.h`, but not the source file `name2ctype.src`, so they no longer match and the generated `.h` is the correct one. We read from the out of date `.src`.\r\n\r\nhttps://github.com/ruby/ruby/blob/004bb16ccc01608849c8d200aed990b6d6e2b98e/enc/unicode/name2ctype.h#L668-L678\r\n\r\nhttps://github.com/ruby/ruby/blob/004bb16ccc01608849c8d200aed990b6d6e2b98e/enc/unicode/name2ctype.src#L555-L567\r\n\r\nIt looks like the source for these doesn't use the `.src` file any more and have deleted it.\r\n\r\nhttps://github.com/k-takata/Onigmo/tree/master/enc/unicode\r\n\r\nMaybe MRI needs to do that as well, and JCodings need to parse the `.h` instead of the `.src`."}}