Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The (current) link doesn't describe the encoding process. It only has a map of symbols <--> bytes and some statistics on data size.
Yeah, at the linked page, it mentions 0-bytes, but it doesn't say what they are. We really need more concrete instructions.
The issue is actually in your code. The test code just mixes up "expected" and "actual".
So "11, 11, 2(, 3, 5\r, 8ò, =Å, E}, R\b, gK, " is not expected, it's what your code returns.
I had a very similar issue, and fixing a bug in my code helped.