Make char set dynamic