{"action":"created","issue":{"url":"https://api.github.com/repos/cognitect/transit-clj/issues/24","labels_url":"https://api.github.com/repos/cognitect/transit-clj/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cognitect/transit-clj/issues/24/comments","events_url":"https://api.github.com/repos/cognitect/transit-clj/issues/24/events","html_url":"https://github.com/cognitect/transit-clj/issues/24","id":59643942,"number":24,"title":"Handle Umlauts correctly","user":{"login":"sveri","id":498370,"avatar_url":"https://avatars.githubusercontent.com/u/498370?v=3","gravatar_id":"","url":"https://api.github.com/users/sveri","html_url":"https://github.com/sveri","followers_url":"https://api.github.com/users/sveri/followers","following_url":"https://api.github.com/users/sveri/following{/other_user}","gists_url":"https://api.github.com/users/sveri/gists{/gist_id}","starred_url":"https://api.github.com/users/sveri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sveri/subscriptions","organizations_url":"https://api.github.com/users/sveri/orgs","repos_url":"https://api.github.com/users/sveri/repos","events_url":"https://api.github.com/users/sveri/events{/privacy}","received_events_url":"https://api.github.com/users/sveri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-03T13:52:11Z","updated_at":"2015-03-05T16:17:49Z","closed_at":null,"body":"Currently transit-clj cannot handle umlaute correctly.   \r\nThis is the shortest example I can come up with:  \r\n\r\n    (require '[cognitect.transit :as transit])\r\n    (import [java.io ByteArrayInputStream ByteArrayOutputStream])\r\n    \r\n    (def out (ByteArrayOutputStream. 4096))\r\n    (def writer (transit/writer out :json))\r\n    (transit/write writer \"ü\")\r\n    (.toString out)\r\n    => \"[\\\"~#'\\\",\\\"Ã¼\\\"]\""},"comment":{"url":"https://api.github.com/repos/cognitect/transit-clj/issues/comments/77394188","html_url":"https://github.com/cognitect/transit-clj/issues/24#issuecomment-77394188","issue_url":"https://api.github.com/repos/cognitect/transit-clj/issues/24","id":77394188,"user":{"login":"benkamphaus","id":6155829,"avatar_url":"https://avatars.githubusercontent.com/u/6155829?v=3","gravatar_id":"","url":"https://api.github.com/users/benkamphaus","html_url":"https://github.com/benkamphaus","followers_url":"https://api.github.com/users/benkamphaus/followers","following_url":"https://api.github.com/users/benkamphaus/following{/other_user}","gists_url":"https://api.github.com/users/benkamphaus/gists{/gist_id}","starred_url":"https://api.github.com/users/benkamphaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkamphaus/subscriptions","organizations_url":"https://api.github.com/users/benkamphaus/orgs","repos_url":"https://api.github.com/users/benkamphaus/repos","events_url":"https://api.github.com/users/benkamphaus/events{/privacy}","received_events_url":"https://api.github.com/users/benkamphaus/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T16:17:49Z","updated_at":"2015-03-05T16:17:49Z","body":"@sveri If you follow up on your example by using transit-clj's reader to decode, you'll see the umlaut is returned correctly:\r\n\r\n```\r\n(def in (ByteArrayInputStream. (.toByteArray out)))\r\n(transit/read (transit/reader in :json))\r\n;; \"ü\"\r\n```"}}