{"action":"created","issue":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/1520","labels_url":"https://api.github.com/repos/scala-js/scala-js/issues/1520/labels{/name}","comments_url":"https://api.github.com/repos/scala-js/scala-js/issues/1520/comments","events_url":"https://api.github.com/repos/scala-js/scala-js/issues/1520/events","html_url":"https://github.com/scala-js/scala-js/issues/1520","id":60018661,"number":1520,"title":"java.net.URI does not support Unicode","user":{"login":"betehess","id":196849,"avatar_url":"https://avatars.githubusercontent.com/u/196849?v=3","gravatar_id":"","url":"https://api.github.com/users/betehess","html_url":"https://github.com/betehess","followers_url":"https://api.github.com/users/betehess/followers","following_url":"https://api.github.com/users/betehess/following{/other_user}","gists_url":"https://api.github.com/users/betehess/gists{/gist_id}","starred_url":"https://api.github.com/users/betehess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betehess/subscriptions","organizations_url":"https://api.github.com/users/betehess/orgs","repos_url":"https://api.github.com/users/betehess/repos","events_url":"https://api.github.com/users/betehess/events{/privacy}","received_events_url":"https://api.github.com/users/betehess/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scala-js/scala-js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-05T21:26:01Z","updated_at":"2015-03-07T10:47:34Z","closed_at":null,"body":"`new java.net.URI(\"http://cs.dbpedia.org/resource/Víno\")` fails with `Uncaught java.net.URISyntaxException: Malformed URI in http://cs.dbpedia.org/resource/Víno at -1`. It works fine on the JVM."},"comment":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/comments/77683784","html_url":"https://github.com/scala-js/scala-js/issues/1520#issuecomment-77683784","issue_url":"https://api.github.com/repos/scala-js/scala-js/issues/1520","id":77683784,"user":{"login":"sjrd","id":535934,"avatar_url":"https://avatars.githubusercontent.com/u/535934?v=3","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T10:47:34Z","updated_at":"2015-03-07T10:47:34Z","body":"I believe we should strive for maximum compliance with the JVM. We should probably use sub-regexes for spaces and control chars. Control chars [are easy](http://docs.oracle.com/javase/7/docs/api/java/lang/Character.html#isISOControl%28int%29). [isSpaceChar](http://docs.oracle.com/javase/7/docs/api/java/lang/Character.html#isSpaceChar%28char%29) is not much harder: there are only 19 chars total in [SPACE_SEPARATOR](http://www.fileformat.info/info/unicode/category/Zs/list.htm), [LINE_SEPARATOR](http://www.fileformat.info/info/unicode/category/Zl/list.htm) and [PARAGRAPH_SEPARATOR](http://www.fileformat.info/info/unicode/category/Zp/list.htm), apparently, none of them being a supplementary character."}}