Allow for other text encodings besides UTF8