{"action":"created","issue":{"url":"https://api.github.com/repos/aiq/basexx/issues/3","labels_url":"https://api.github.com/repos/aiq/basexx/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/aiq/basexx/issues/3/comments","events_url":"https://api.github.com/repos/aiq/basexx/issues/3/events","html_url":"https://github.com/aiq/basexx/issues/3","id":123993530,"number":3,"title":"Crockford example is incorrect","user":{"login":"jpetso","id":88121,"avatar_url":"https://avatars.githubusercontent.com/u/88121?v=3","gravatar_id":"","url":"https://api.github.com/users/jpetso","html_url":"https://github.com/jpetso","followers_url":"https://api.github.com/users/jpetso/followers","following_url":"https://api.github.com/users/jpetso/following{/other_user}","gists_url":"https://api.github.com/users/jpetso/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetso/subscriptions","organizations_url":"https://api.github.com/users/jpetso/orgs","repos_url":"https://api.github.com/users/jpetso/repos","events_url":"https://api.github.com/users/jpetso/events{/privacy}","received_events_url":"https://api.github.com/users/jpetso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-27T19:35:14Z","updated_at":"2015-12-27T21:58:38Z","closed_at":null,"body":"First up, this library looks awesome and good job for including test cases / example conversions for all the codecs. Now for the issue!\r\n\r\nThe README gives this example:\r\n```Lua\r\nbasexx.from_crockford( \"axqqeb10d5u20wk5c5p6ry90exqq4uvk44\" ) --> Wow, it really works!\r\n```\r\n\r\nThis example decodes a \"u\" character; however, the spec at http://www.crockford.com/wrmg/base32.html does not say a word about decoding \"u\" or even the upper-case \"U\". If I had to guess, I'd think that maybe you got the alphabet from https://github.com/agnoster/base32-js which uses an alphabet derived from Crockford but is not the original one, and that one includes \"u\" as well.\r\n\r\nSince I'm currently working on a (C++) library for base-N codecs, here's what my encoding result looks like:\r\n```C++\r\nbase32::encode(std::string(\"Wow, it really works!\"));\r\n\"AXQQEB10D5T20WK5C5P6RY90EXQQ4TVK44\" // my result\r\n\"AXQQEB10D5U20WK5C5P6RY90EXQQ4UVK44\" // upper-case version of your example\r\n```"},"comment":{"url":"https://api.github.com/repos/aiq/basexx/issues/comments/167443964","html_url":"https://github.com/aiq/basexx/issues/3#issuecomment-167443964","issue_url":"https://api.github.com/repos/aiq/basexx/issues/3","id":167443964,"user":{"login":"aiq","id":569366,"avatar_url":"https://avatars.githubusercontent.com/u/569366?v=3","gravatar_id":"","url":"https://api.github.com/users/aiq","html_url":"https://github.com/aiq","followers_url":"https://api.github.com/users/aiq/followers","following_url":"https://api.github.com/users/aiq/following{/other_user}","gists_url":"https://api.github.com/users/aiq/gists{/gist_id}","starred_url":"https://api.github.com/users/aiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aiq/subscriptions","organizations_url":"https://api.github.com/users/aiq/orgs","repos_url":"https://api.github.com/users/aiq/repos","events_url":"https://api.github.com/users/aiq/events{/privacy}","received_events_url":"https://api.github.com/users/aiq/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T21:58:38Z","updated_at":"2015-12-27T21:58:38Z","body":"Hey, thanks for the info and the nice words.\r\n\r\nThe example in the README was outdated.\r\nbasexx produces also `AXQQEB10D5T20WK5C5P6RY90EXQQ4TVK44`, since version 0.2.0[1].\r\n\r\nI fixed the README and added a new test[2].\r\n\r\n[1] https://github.com/aiq/basexx/blob/master/CHANGELOG.adoc\r\n[2] https://github.com/aiq/basexx/commit/16328ee08a6c8dbc58da0131df82ca8caba2a8eb"}}