{"action":"closed","issue":{"url":"https://api.github.com/repos/a2/MessagePack.swift/issues/12","labels_url":"https://api.github.com/repos/a2/MessagePack.swift/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/a2/MessagePack.swift/issues/12/comments","events_url":"https://api.github.com/repos/a2/MessagePack.swift/issues/12/events","html_url":"https://github.com/a2/MessagePack.swift/issues/12","id":111064648,"number":12,"title":"Unpacking of \"Umlaute\" doesn't work","user":{"login":"moogle19","id":792046,"avatar_url":"https://avatars.githubusercontent.com/u/792046?v=3","gravatar_id":"","url":"https://api.github.com/users/moogle19","html_url":"https://github.com/moogle19","followers_url":"https://api.github.com/users/moogle19/followers","following_url":"https://api.github.com/users/moogle19/following{/other_user}","gists_url":"https://api.github.com/users/moogle19/gists{/gist_id}","starred_url":"https://api.github.com/users/moogle19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moogle19/subscriptions","organizations_url":"https://api.github.com/users/moogle19/orgs","repos_url":"https://api.github.com/users/moogle19/repos","events_url":"https://api.github.com/users/moogle19/events{/privacy}","received_events_url":"https://api.github.com/users/moogle19/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-12T22:05:54Z","updated_at":"2015-10-16T11:00:55Z","closed_at":"2015-10-16T11:00:55Z","body":"Characters like ä,ö,ü,é,ß doesn't unpack correctly. Packing works, but the problem with unpacking is, that these characters consist of 2 bytes instead of 1. So the unpackString method handles the character as 2 characters.\r\n\r\nAlso the determination of the string length looks wrong. The length should be \"value & 0x1f\" and not \"value - 0xa0\" if I understand it correctly.\r\n"}}