Make the charset configurable