use new text-stream-decoding