add charset functions
dev