use unpackWithEncoding instead of ByteString.unpack