decoding to unicode, fixes #11