add charset cli support