New encoder for text/plain