add charset to Writer