add options.charset support for text content

rt