Make default charset configurable